Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigTokenError = &ConfigError{"token", "Token is required."}
Functions ¶
This section is empty.
Types ¶
type ConfigError ¶
func (*ConfigError) Error ¶
func (ge *ConfigError) Error() string
type ConnectionConfig ¶
type ConnectionConfig struct { // Bot Token Token string `json:"token"` // Bot Intents Intents discordgo.Intent `json:"intents"` // Bot Onwer ID OwnerID string `json:"owner"` // Bot Prefix Prefix string `json:"prefix"` }
ConnectionConfig to connect the bot and other features.
var Config ConnectionConfig
Click to show internal directories.
Click to hide internal directories.