From b92911fb6ccd11910f394eef02090071d8d45114 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sat, 31 May 2025 02:26:53 +0200 Subject: build(gokord): upgrade to v0.9.0 --- commands/top.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'commands/top.go') 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 { -- cgit v1.2.3