diff --git a/rolebuttons.py b/rolebuttons.py index 96acf41..41fc7dc 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -109,7 +109,7 @@ class rolebutton(commands.Cog): ) async def roleremove(self, interaction: nextcord.Interaction, role: nextcord.Role): await self.bot.cur.execute(f""" - DELETE FROM rolebutton WHERE serverid = {interaction.guild.id} AND roleid = {role.id}) + DELETE FROM rolebutton WHERE serverid = {interaction.guild.id} AND roleid = {role.id} """) await self.bot.db.commit() await interaction.response.send_message("Done", ephemeral=True)