aboutsummaryrefslogtreecommitdiff
path: root/commands/reset.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-01-23 19:09:20 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-01-23 19:09:20 +0100
commitefaa24393a3e7c999f6706d88a9cba74bfa62980 (patch)
treeb89fe56cfeebd48a22c057fd13e11347dc0189f3 /commands/reset.go
parente8584b80e9638856cda0384f23a3293c2ae14d9e (diff)
refactor(commands): deploy when flag is given
Diffstat (limited to 'commands/reset.go')
-rw-r--r--commands/reset.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/reset.go b/commands/reset.go
index d1e04ea..85f8f0d 100644
--- a/commands/reset.go
+++ b/commands/reset.go
@@ -29,7 +29,7 @@ func ResetUser(ctx context.Context, dg bot.Session, i *interaction.ApplicationCo
}
}()
opts := i.OptionMap()
- v, ok := opts["user"]
+ v, ok := opts["copaing"]
if !ok {
resp.Message("Le copaing n'a pas été renseigné.")
return