verification: use the proper participant role

This commit is contained in:
Ave Ozkal 2020-04-21 16:17:44 +03:00
parent 206b8b812e
commit ce74bbe138
No known key found for this signature in database
GPG key ID: 398DD7BD03276F6D

View file

@ -138,7 +138,7 @@ class Verification(Cog):
return await chan.send(snark) return await chan.send(snark)
# Get the role we will give in case of success # Get the role we will give in case of success
success_role = guild.get_role(config.participant_role) success_role = guild.get_role(config.named_roles["participant"])
# Get a list of stuff we'll allow and will consider close # Get a list of stuff we'll allow and will consider close
allowed_names = [f"@{full_name}", full_name, str(member.id)] allowed_names = [f"@{full_name}", full_name, str(member.id)]