build(gokord): upgrade to v0.9.0
This commit is contained in:
parent
3738a8b8e8
commit
b92911fb6c
7 changed files with 96 additions and 88 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue