Skip to content

Commit

Permalink
Hotfix issue with confirm/cancel buttons missing emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
denverquane committed Jan 8, 2024
1 parent f0971d9 commit 6744d1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bot/slash_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ func confirmationComponents(confirmedID string, canceledID string, sett *setting
ID: "commands.stats.reset.button.proceed",
Other: "Confirm",
}),
Emoji: discordgo.ComponentEmoji{Name: ThumbsUp},
},
discordgo.Button{
CustomID: canceledID,
Expand All @@ -937,6 +938,7 @@ func confirmationComponents(confirmedID string, canceledID string, sett *setting
ID: "commands.stats.reset.button.cancel",
Other: "Cancel",
}),
Emoji: discordgo.ComponentEmoji{Name: X},
},
},
},
Expand Down

0 comments on commit 6744d1c

Please sign in to comment.