Documentation ¶
Index ¶
- Variables
- type Choices
- type Commands
- func (c *Commands) Decode(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Disconnect(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Effects(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) InfoBot(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) InfoLavalink(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Latest(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) LatestAutocomplete(e *handler.AutocompleteEvent) error
- func (c *Commands) Lyrics(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) NowPlaying(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Pause(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Play(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) PlayAutocomplete(e *handler.AutocompleteEvent) error
- func (c *Commands) PlayTrack(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Queue(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Read(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) ReadAutocomplete(e *handler.AutocompleteEvent) error
- func (c *Commands) Repeat(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) RequirePlayer(next handler.Handler) handler.Handler
- func (c *Commands) Resolve(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Resume(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Seek(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) SetSponsorblock(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) ShowSponsorblock(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Shuffle(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Skip(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Stop(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) TTS(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- func (c *Commands) Volume(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
- type EffectType
- type UserData
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandCreates = []discord.ApplicationCommandCreate{
decode,
resolve,
info,
latest,
music,
read,
}
Functions ¶
This section is empty.
Types ¶
type Choices ¶
type Choices []discord.AutocompleteChoice
type Commands ¶
type Commands struct {
*lavalinkbot.Bot
}
func (*Commands) Decode ¶
func (c *Commands) Decode(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Disconnect ¶
func (c *Commands) Disconnect(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Effects ¶
func (c *Commands) Effects(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) InfoBot ¶
func (c *Commands) InfoBot(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) InfoLavalink ¶
func (c *Commands) InfoLavalink(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Latest ¶
func (c *Commands) Latest(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) LatestAutocomplete ¶
func (c *Commands) LatestAutocomplete(e *handler.AutocompleteEvent) error
func (*Commands) Lyrics ¶
func (c *Commands) Lyrics(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) NowPlaying ¶
func (c *Commands) NowPlaying(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Pause ¶
func (c *Commands) Pause(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Play ¶
func (c *Commands) Play(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) PlayAutocomplete ¶
func (c *Commands) PlayAutocomplete(e *handler.AutocompleteEvent) error
func (*Commands) PlayTrack ¶
func (c *Commands) PlayTrack(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Queue ¶
func (c *Commands) Queue(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Read ¶
func (c *Commands) Read(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) ReadAutocomplete ¶
func (c *Commands) ReadAutocomplete(e *handler.AutocompleteEvent) error
func (*Commands) Repeat ¶
func (c *Commands) Repeat(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) RequirePlayer ¶
func (*Commands) Resolve ¶
func (c *Commands) Resolve(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Resume ¶
func (c *Commands) Resume(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Seek ¶
func (c *Commands) Seek(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) SetSponsorblock ¶
func (c *Commands) SetSponsorblock(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) ShowSponsorblock ¶
func (c *Commands) ShowSponsorblock(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Shuffle ¶
func (c *Commands) Shuffle(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Skip ¶
func (c *Commands) Skip(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Stop ¶
func (c *Commands) Stop(_ discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) TTS ¶
func (c *Commands) TTS(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
func (*Commands) Volume ¶
func (c *Commands) Volume(data discord.SlashCommandInteractionData, e *handler.CommandEvent) error
type EffectType ¶
type EffectType string
const ( EffectTypeNone EffectType = "none" EffectTypeNightcore EffectType = "nightcore" EffectTypeVaporwave EffectType = "vaporwave" EffectTypePiano EffectType = "piano" EffectTypeMetal EffectType = "metal" EffectTypeBassBoost EffectType = "bass-boost" )
Click to show internal directories.
Click to hide internal directories.