diff --git a/misc.py b/misc.py index a17c78c..936e656 100644 --- a/misc.py +++ b/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: