|
|
|
@ -109,6 +109,9 @@ func checkPrestigeReact(s *discordgo.Session, m *discordgo.MessageReactionAdd) {
|
|
|
|
|
if prestigeList[m.MessageID] != m.UserID {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if m.Emoji.Name != emojiCheck {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
xp := getXP(s, m.UserID)
|
|
|
|
|
newPrestigeLevel := xp/prestigeRequirement + 1
|
|
|
|
|
go cleanUpRole(s, m.UserID)
|
|
|
|
|