aboutsummaryrefslogtreecommitdiff
path: root/cogs/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'cogs/utils.py')
-rwxr-xr-xcogs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index 1c66cf7..7e79ce3 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -160,7 +160,7 @@ class Utils(commands.Cog):
@commands.Cog.listener()
async def on_reaction_add(self, reaction, user):
- if reaction.emoji == "⭐" and not reaction.message.id in self.pins:
+ if reaction.emoji == "⭐" and not reaction.message.id in self.pins and reaction.count >= 3:
self.pins.append(reaction.message.id)
embed = discord.Embed(title=f"**{reaction.message.clean_content}**", colour=discord.Colour(0xb92c36), url=reaction.message.jump_url, timestamp=reaction.message.created_at)