aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/top.go')
-rw-r--r--commands/top.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/commands/top.go b/commands/top.go
index 5a20091..d0e898d 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -49,9 +49,12 @@ func Top(s *discordgo.Session, i *discordgo.InteractionCreate) {
go func() {
wg.Wait()
if cfg.DaysXPRemains > 30 {
- resp.Embeds(embeds)
+ resp.AddEmbed(embeds[0]).
+ AddEmbed(embeds[1]).
+ AddEmbed(embeds[2])
} else {
- resp.Embeds(embeds[1:])
+ resp.AddEmbed(embeds[1]).
+ AddEmbed(embeds[2])
}
err = resp.Send()
if err != nil {