mirror of
https://github.com/idanoo/GoDiscMoji
synced 2025-07-01 10:22:14 +00:00
notag
This commit is contained in:
parent
6aaa60606c
commit
01e87b242f
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ func showTopEmojis(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|||
users := []string{}
|
||||
msg += fmt.Sprintf("%s: %d", k, v)
|
||||
for sk, sv := range topUsers {
|
||||
users = append(users, fmt.Sprintf("<@%s>: %d", sk, sv))
|
||||
users = append(users, fmt.Sprintf("<%s>: %d", sk, sv))
|
||||
}
|
||||
msg += " (" + strings.Join(users, ", ") + ")\n"
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ func showTopUsers(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|||
}
|
||||
|
||||
users := []string{}
|
||||
msg += fmt.Sprintf("<@%s>: %d", k, v)
|
||||
msg += fmt.Sprintf("<%s>: %d", k, v)
|
||||
for sk, sv := range topUsers {
|
||||
users = append(users, fmt.Sprintf("%s: %d", sk, sv))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue