diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-25 17:06:40 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-25 17:06:40 +0100 |
| commit | aff3447a7b84c85be0020af95aecaa6c14f8b09b (patch) | |
| tree | 007dfa9bcc9e528fa855358ff96a59eea0353feb /main.go | |
| parent | 2bf38473893b4fcd86ce7c97c04846237bb8cce4 (diff) | |
fix(commands): various dumb things
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -98,7 +98,7 @@ func main() { ctx = common.SetAuthor(ctx, cfg.Author) logLevel := slog.LevelInfo - if verbose { + if verbose || cfg.Debug { logLevel = slog.LevelDebug } dg := gokord.NewWithLogLevel("Bot "+token, logLevel) @@ -155,6 +155,7 @@ func main() { intrs.HandleCommand("reset", commands.Reset) intrs.HandleCommand("reset-user", commands.ResetUser) intrs.HandleCommand("credits", commands.Credits) + intrs.HandleCommand("stats", commands.Stats) intrs.HandleCommand("rolereact", rolereact.HandleCommand) intrs.HandleCommand("Modifier", rolereact.HandleModifyCommand) |
