Fix bad display on rolegiver add
This commit is contained in:
parent
a8aa39d89c
commit
59ef2aeac3
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ class RolegiverCog(commands.Cog):
|
|||
|
||||
roles = []
|
||||
for role_id in setting.value:
|
||||
if role_id == role.id:
|
||||
continue
|
||||
e_role = ctx.guild.get_role(role_id)
|
||||
if not e_role:
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue