Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { // AdminRole contains the role ID of the discord server's admin role AdminRole string // DS represents the bot's current discord session DS *discordgo.Session // Service is the gateway to all Service interactions Service models.Services // Prefix is the user set bot prefix found in .config (default is ?) Prefix string // Commands is a map of command name to a closure of the func Commands map[string]Command // ID of channel to post listings Listing string // ID of channel to accept bot commands BotCh string // Channel ID of rep applications App string }
Bot represents a daisymae bot instance
type Command ¶
type Command struct {
Cmd func(cmd.CommandInfo)
}
Command represents a discord bot command
Click to show internal directories.
Click to hide internal directories.