Skip to content

Commit

Permalink
fix: missing guild roles
Browse files Browse the repository at this point in the history
  • Loading branch information
1ukastesar authored and solumath committed Sep 19, 2024
1 parent 8282c88 commit 6ae620e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,5 @@ async def clear_host_roles(self, inter: disnake.ApplicationCommandInteraction):

verify = disnake.utils.get(guild.roles, name="Verify")
zajemce = disnake.utils.get(guild.roles, name="ZajemceoStudium")
newbie = disnake.utils.get(id=config.newbie_role)
newbie = disnake.utils.get(guild.roles, id=config.newbie_role)
await member.remove_roles(host, verify, zajemce, newbie, reason="Verify user")

0 comments on commit 6ae620e

Please sign in to comment.