diff --git a/other_ext/register.py b/other_ext/register.py index 0c4902e..ef08b66 100644 --- a/other_ext/register.py +++ b/other_ext/register.py @@ -52,7 +52,7 @@ class Extension: player = await core.GetPlayer(steam64, steam64, False) await player.RemoveDiscordId(interaction.user.id) await interaction.followup.send(f'Профиль отвязан, друг', ephemeral=True) - await self.remove_role(interaction.user.id, interaction.guild) + await self.remove_role(interaction.user, interaction.guild) return @core.event