Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Commands []commands.Command
)
View Source
var EightBallCommand = discordgo.ApplicationCommand{ Name: "8ball", Description: "Shake a magic 8-ball", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "question", Description: "Optional question for the 8-ball", Required: false, }, }, }
Functions ¶
func EightBallCommandHandler ¶ added in v0.4.0
func EightBallCommandHandler(s *discordgo.Session, i *discordgo.InteractionCreate)
func ShakeTheBall ¶
func ShakeTheBall(i *discordgo.InteractionCreate) string
Types ¶
type Randomizer ¶
type Randomizer = types.Randomizer
Click to show internal directories.
Click to hide internal directories.