15 lines
305 B
Go
15 lines
305 B
Go
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(),
|
|
}
|