fix(forums): changed no button emoji as it can't be seen against a red button background
This commit is contained in:
parent
b6b144bb21
commit
c87261b17e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Forums(commands.Cog):
|
||||||
else:
|
else:
|
||||||
await interaction.response.send_message(content="You cannot close this thread!", ephemeral=True)
|
await interaction.response.send_message(content="You cannot close this thread!", ephemeral=True)
|
||||||
|
|
||||||
@ui.button(label="No", style=discord.ButtonStyle.danger, emoji="❌")
|
@ui.button(label="No", style=discord.ButtonStyle.danger, emoji="✖️")
|
||||||
async def resolved_button_no(self, button: ui.Button, interaction: discord.Interaction):
|
async def resolved_button_no(self, button: ui.Button, interaction: discord.Interaction):
|
||||||
match = any(role_id in interaction.user.roles for role_id in await self.config.guild(interaction.channel.guild).request_roles())
|
match = any(role_id in interaction.user.roles for role_id in await self.config.guild(interaction.channel.guild).request_roles())
|
||||||
if match or interaction.user.id == interaction.channel.owner.id:
|
if match or interaction.user.id == interaction.channel.owner.id:
|
||||||
|
|
Loading…
Reference in a new issue