mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Fix mpreg shit?
This commit is contained in:
parent
82b9163d4d
commit
b20786e2a5
1 changed files with 6 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue