Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotConfig ¶
type BotConfig struct { Auth struct { Token string `toml:"token"` DatabaseURL string `toml:"database_url"` BoltPath string `toml:"bolt_path"` } `toml:"auth"` Bot struct { Prefixes []string `toml:"prefixes"` BotOwners []string `toml:"bot_owners"` Invite string `toml:"invite"` AllowedBots []string `toml:"allowed_bots"` DMWebhook string `toml:"dm_webhook"` BlockedUsers []string `toml:"blocked_users"` LogWebhook string `toml:"log_webhook"` CustomStatus struct { Type string `toml:"type"` Status string `toml:"status"` } `toml:"custom_status"` } `toml:"bot"` Logging struct { LogLevel string `toml:"log_level"` DebugURL string `toml:"debug_url"` InfoURL string `toml:"info_url"` WarnURL string `toml:"warn_url"` ErrorURL string `toml:"error_url"` PanicURL string `toml:"panic_url"` } `toml:"logging"` }
BotConfig holds the bot's configuration
type GatekeeperSettings ¶
type GatekeeperSettings struct { GatekeeperRoles []string MemberRoles []string GatekeeperChannel string GatekeeperMessage string WelcomeChannel string WelcomeMessage string }
GatekeeperSettings holds the gatekeeper settings
type GuildSettings ¶
type GuildSettings struct { Prefix string Starboard StarboardSettings Moderation ModSettings Gatekeeper GatekeeperSettings YAG YAGImport }
GuildSettings holds a guild's configuration
type ModSettings ¶
type ModSettings struct { ModRoles []string HelperRoles []string ModLog string MuteRole string PauseRole string }
ModSettings holds the mod settings
Click to show internal directories.
Click to hide internal directories.