blob: 756c38f96e1f1897065e4c9686b7f52ac51c4320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package commands
import "github.com/bwmarrin/discordgo"
var (
Commands = []*discordgo.ApplicationCommand{
{
Name: "play",
Description: "Search and play a song from Spotify or YouTube",
Options: []*discordgo.ApplicationCommandOption{
{
Type: discordgo.ApplicationCommandOptionString,
Name: "query",
Description: "Search query for the song/playlist (or URL)",
Required: true,
Autocomplete: true,
},
},
},
{
Name: "disconnect",
Description: "Disconnect the bot from the voice channel",
},
}
)
|