Skip to content

Commit

Permalink
Fixed role perm
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Feb 15, 2024
1 parent b629202 commit 8aaa53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs/Events/AstroSupport/aon_thread_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self):

@discord.ui.button(label="Mark Resolved", style=discord.ButtonStyle.success, custom_id="PERSISTENT:RESOLVE")
async def close(self, interaction: discord.Interaction, button: discord.ui.Button):
requiredrole = discord.utils.get(interaction.guild.roles, id=1101807246079442944)
requiredrole = discord.utils.get(interaction.guild.roles, id=1160257124060893365)
if requiredrole not in interaction.user.roles:
return await interaction.response.send_message(f"{no} You do not have the required role to mark this thread as resolved.", ephemeral=True)
button.disabled = True
Expand Down

0 comments on commit 8aaa53f

Please sign in to comment.