From cd81eccf81ee884122dbe65396620c8722548895 Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 16:49:28 -0400 Subject: [PATCH] update --- rolebuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)