From b20786e2a5cd27ed33afecb288c8c6ea88977c57 Mon Sep 17 00:00:00 2001 From: eek7574 Date: Wed, 7 Dec 2022 13:43:13 +0000 Subject: [PATCH] Fix mpreg shit? --- cogs/events.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cogs/events.py b/cogs/events.py index cda133d..67136ae 100644 --- a/cogs/events.py +++ b/cogs/events.py @@ -100,6 +100,12 @@ class Events(commands.Cog): @commands.Cog.listener() async def on_message(self, message: discord.Message): + if message.content: + if "mpreg" in message.content.lower() or "\U0001fac3" in message.content.lower(): + try: + await message.add_reaction("\U0001fac3") + except discord.HTTPException: + pass if not message.guild: return if message.channel.name == "pinboard": @@ -137,11 +143,6 @@ class Events(commands.Cog): text=f"Pos: {pos*100:.2f}% | Neutral: {neut*100:.2f}% | Neg: {neg*100:.2f}%" ) return await message.reply(embed=embed) - if "mpreg" in message.content.lower() or "\U0001fac3" in message.content.lower(): - try: - await message.add_reaction("\U0001fac3") - except discord.HTTPException: - pass def setup(bot):