Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Command commands.Command Commands []commands.Command )
View Source
var RadLibsCommand = discordgo.ApplicationCommand{ Name: "radlibs", Description: "Replaces certain tokens with words", Options: []*discordgo.ApplicationCommandOption{ { Type: discordgo.ApplicationCommandOptionString, Name: "msg", Description: "Message with the tokens you want to radlib", Required: true, }, }, }
Functions ¶
func DoRadlibs ¶
func DoRadlibs(s *discordgo.Session, i *discordgo.InteractionCreate) string
This function splits up the message string and loops over every string
func RadlibsCommandHandler ¶ added in v0.4.0
func RadlibsCommandHandler(s *discordgo.Session, i *discordgo.InteractionCreate)
Types ¶
type Randomizer ¶
type Randomizer = types.Randomizer
Click to show internal directories.
Click to hide internal directories.