summaryrefslogtreecommitdiff
path: root/commands/commands.go
blob: 00f09f85a007806cfd4cdc5d2a942ca8cb33d91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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,
				},
			},
		},
	}
)