Update
This commit is contained in:
parent
a99cceaa8b
commit
ae4700ac7b
1 changed files with 1 additions and 1 deletions
2
misc.py
2
misc.py
|
@ -54,7 +54,7 @@ class misc(commands.Cog):
|
|||
await interaction.response.send_message("You don't have permission in this context", ephemeral=True)
|
||||
return
|
||||
if message.channel.owner_id == interaction.user.id:
|
||||
if message.pinned:
|
||||
if not message.pinned:
|
||||
await message.pin()
|
||||
await interaction.response.send_message("Pinned", ephemeral=True)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue