basic setup, /ping added
This commit is contained in:
14
relay/commands/commands.go
Normal file
14
relay/commands/commands.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package commands
|
||||
|
||||
import "github.com/disgoorg/disgo/discord"
|
||||
|
||||
func getPingCommand() discord.SlashCommandCreate {
|
||||
return discord.SlashCommandCreate{
|
||||
Name: "ping",
|
||||
Description: "Check whether the bot is responding.",
|
||||
}
|
||||
}
|
||||
|
||||
var Commands = []discord.ApplicationCommandCreate{
|
||||
getPingCommand(),
|
||||
}
|
||||
Reference in New Issue
Block a user