19 lines
461 B
Go
19 lines
461 B
Go
package commands
|
|
|
|
import "github.com/bwmarrin/discordgo"
|
|
|
|
var PurrCommand = &discordgo.ApplicationCommand{
|
|
Name: "purr",
|
|
Description: "Purr...",
|
|
}
|
|
|
|
func HandlePurr(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|
response := &discordgo.InteractionResponse{
|
|
Type: discordgo.InteractionResponseChannelMessageWithSource,
|
|
Data: &discordgo.InteractionResponseData{
|
|
Content: "Purr...",
|
|
},
|
|
}
|
|
s.InteractionRespond(i.Interaction, response)
|
|
}
|