Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var COMMANDS []*discordgo.ApplicationCommand = []*discordgo.ApplicationCommand{ { Name: "chat", Description: "Send a message to ChatGPT", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "message", Description: "Message to send to ChatGPT", Required: true, }, }, }, }
Functions ¶
func CommandInteractions ¶
func CommandInteractions(s *discordgo.Session, i *discordgo.InteractionCreate)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.