aboutsummaryrefslogtreecommitdiff
path: root/commands/reset.go
diff options
context:
space:
mode:
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