diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-31 02:26:53 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-31 02:26:53 +0200 |
| commit | b92911fb6ccd11910f394eef02090071d8d45114 (patch) | |
| tree | c636e4120626513a98b88c639dc8e01b26726aaa /commands/top.go | |
| parent | 3738a8b8e88d25d700c3135eab78a0e0ee68271b (diff) | |
build(gokord): upgrade to v0.9.0
Diffstat (limited to 'commands/top.go')
| -rw-r--r-- | commands/top.go | 7 |
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 { |
