gacha: Do not gacha for level 1

master
Luther Wen Xu 2019-11-19 15:05:05 +07:00
parent fd8ad961b2
commit 11cc377789
Signed by: chanbakjsd
GPG Key ID: B7D77E3E9D102B70
1 changed files with 3 additions and 1 deletions

@ -32,7 +32,9 @@ func checkForGachaEligibility(dg *discordgo.Session, discordID, intendedLevel st
return return
} }
rollGacha(dg, member) if intendedLevel != rolesFromLevel[0] {
rollGacha(dg, member)
}
err = dg.GuildMemberRoleAdd(guildID, discordID, intendedLevel) err = dg.GuildMemberRoleAdd(guildID, discordID, intendedLevel)
if err != nil { if err != nil {