From aff3447a7b84c85be0020af95aecaa6c14f8b09b Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sun, 25 Jan 2026 17:06:40 +0100 Subject: fix(commands): various dumb things --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 8f76d80..c119191 100644 --- a/main.go +++ b/main.go @@ -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) -- cgit v1.2.3