This commit is contained in:
insert 2024-08-10 16:49:28 -04:00
parent af7a4bce0a
commit cd81eccf81
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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)