update
This commit is contained in:
parent
af7a4bce0a
commit
cd81eccf81
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class rolebutton(commands.Cog):
|
||||||
)
|
)
|
||||||
async def roleremove(self, interaction: nextcord.Interaction, role: nextcord.Role):
|
async def roleremove(self, interaction: nextcord.Interaction, role: nextcord.Role):
|
||||||
await self.bot.cur.execute(f"""
|
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 self.bot.db.commit()
|
||||||
await interaction.response.send_message("Done", ephemeral=True)
|
await interaction.response.send_message("Done", ephemeral=True)
|
||||||
|
|
Loading…
Reference in a new issue