aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/top.go')
-rw-r--r--commands/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/top.go b/commands/top.go
index bb08144..bd92a28 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -68,7 +68,7 @@ func Top(s bot.Session, i *event.InteractionCreate, _ cmd.OptionMap, resp *cmd.R
func genTopsMessage(tops []user.CopaingAccess) string {
msg := ""
for i, c := range tops {
- msg += fmt.Sprintf("%d. **<@%s>** - niveau %d", i+1, c.ToCopaing().DiscordID, exp.Level(c.GetXP()))
+ msg += fmt.Sprintf("%d. **<@%s>** - niveau %d", i+1, c.Copaing().DiscordID, exp.Level(c.GetXP()))
if i != len(tops)-1 {
msg += "\n"
}