Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EIGHTBALL_Command = &discordgo.ApplicationCommand{ Name: "8ball", Description: "What does your fate hold?", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "question", Description: "What do you want to ask the magical 8ball?", Required: true, }, }, } )
View Source
var ID_Commmand = &discordgo.ApplicationCommand{
Name: "what-is-my-id",
Description: "Get your user ID.",
}
View Source
var PING_Command = &discordgo.ApplicationCommand{
Name: "ping",
Description: "Get the Bots ping",
}
Functions ¶
func EIGHTBALL_ParseCommand ¶ added in v0.1.2
func EIGHTBALL_ParseCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
func ID_ParseCommand ¶
func ID_ParseCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
func PING_ParseCommand ¶
func PING_ParseCommand(s *discordgo.Session, i *discordgo.InteractionCreate)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.