diff --git a/level/roles.go b/level/roles.go index bb60157..9fab404 100644 --- a/level/roles.go +++ b/level/roles.go @@ -36,6 +36,9 @@ func AssignRoles(dg *discordgo.Session, guildID string, userID string, rank Rank if len(member.Roles) == 0 { return } + if member.User.Bot { + return + } OuterLoop: for i := 0; i <= int(rank); i++ { if i >= len(Roles) {