Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Prefix string `default:"8g!"` DiscordID string `required:"true" split_words:"true"` DiscordToken string `required:"true" split_words:"true"` LogLevel string `default:"debug" split_words:"true"` LavalinkPassphrase string `default:"correct-horse-battery-staple" split_words:"true"` LavalinkHost string `default:"localhost:2333" split_words:"true"` }
type GuildState ¶
type Instance ¶
type Instance struct { Session *discordgo.Session Config Config CommandParser *parsley.Parser LavalinkConnection waterlink.Connection LavalinkRequester waterlink.Requester State map[string]*GuildState }
var Bot *Instance
type PlayCommandArgs ¶
type PlayCommandArgs struct {
Query string
}
type SeekCommandArgs ¶
type SeekCommandArgs struct {
Target string `description:"Target duration to seek to"`
}
Click to show internal directories.
Click to hide internal directories.