aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-13 18:24:27 +0200
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-05-13 18:24:27 +0200
commita02a0d8e3e45d738c5a1a07dbc925c329ddf6278 (patch)
treeaefb2103b185d6ab52cb8bb2e9a28b3a083867b3 /commands
parentf2fbf1db929e4bd2b3af014fb8d9af4c0f934a1e (diff)
fix(command): using wrong key for /rank due to previous automatic refactor
Diffstat (limited to 'commands')
-rw-r--r--commands/rank.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rank.go b/commands/rank.go
index d079a84..70c0222 100644
--- a/commands/rank.go
+++ b/commands/rank.go
@@ -15,7 +15,7 @@ func Rank(s *discordgo.Session, i *discordgo.InteractionCreate) {
m := i.Member
var err error
resp := utils.ResponseBuilder{C: s, I: i}
- if v, ok := optMap["user"]; ok {
+ if v, ok := optMap["copaing"]; ok {
u := v.UserValue(s)
if u.Bot {
err = resp.Message("Imagine si les bots avaient un niveau :rolling_eyes:").IsEphemeral().Send()