Respect the debug flag in the environment

This commit is contained in:
2022-08-28 09:45:34 -05:00
parent 7d071ebe0b
commit fbd655b2da
2 changed files with 6 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ var (
type (
Config struct {
Debug bool `mapstructure:"debug"`
Handler HandlerConfig `mapstructure:"handler"`
Prefix string `mapstructure:"prefix"`
DiscordToken string `mapstructure:"discord_token"`