From ae4700ac7b0cbd6a10e4fad43beced361bf4bce2 Mon Sep 17 00:00:00 2001 From: insert Date: Wed, 23 Oct 2024 21:01:27 -0400 Subject: [PATCH] Update --- misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: