fix(command): using wrong key for /rank due to previous automatic refactor
This commit is contained in:
parent
f2fbf1db92
commit
a02a0d8e3e
2 changed files with 4 additions and 10 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue