From 6ae620e6660842bb06ea3e9edee0c73ceb6f98e1 Mon Sep 17 00:00:00 2001 From: Lukas Tesar Date: Thu, 19 Sep 2024 12:04:22 +0200 Subject: [PATCH] fix: missing guild roles --- features/verification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/verification.py b/features/verification.py index 201b2c4de..76eb5d935 100644 --- a/features/verification.py +++ b/features/verification.py @@ -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")