Documentation ¶
Index ¶
Constants ¶
View Source
const Prefix = "!"
Prefix is the regexp to match whether to respond to a message or not.
Variables ¶
This section is empty.
Functions ¶
func MessageCreate ¶
func MessageCreate(s *discordgo.Session, m *discordgo.MessageCreate)
MessageCreate is called every time a new message is created on any channel that the bot has access to.
Types ¶
type Card ¶
type Card struct { Name string Continuous bool Deck *Deck Hero *Hero Character *Character Halo *Halo Action bool Short string Long string Flavor string }
func GetCardByName ¶
type Deck ¶
Click to show internal directories.
Click to hide internal directories.