aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-01-25 17:06:40 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-01-25 17:06:40 +0100
commitaff3447a7b84c85be0020af95aecaa6c14f8b09b (patch)
tree007dfa9bcc9e528fa855358ff96a59eea0353feb /main.go
parent2bf38473893b4fcd86ce7c97c04846237bb8cce4 (diff)
fix(commands): various dumb things
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
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)