aboutsummaryrefslogtreecommitdiff
path: root/commands/rank.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/rank.go')
-rw-r--r--commands/rank.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rank.go b/commands/rank.go
index 70c0222..d577299 100644
--- a/commands/rank.go
+++ b/commands/rank.go
@@ -14,7 +14,7 @@ func Rank(s *discordgo.Session, i *discordgo.InteractionCreate) {
msg := "Votre niveau"
m := i.Member
var err error
- resp := utils.ResponseBuilder{C: s, I: i}
+ resp := utils.NewResponseBuilder(s, i)
if v, ok := optMap["copaing"]; ok {
u := v.UserValue(s)
if u.Bot {