From 0de9f44ddcc308d0da7fdd67864ca7f8b7bd3b2b Mon Sep 17 00:00:00 2001 From: TropiiDev Date: Thu, 31 Oct 2024 08:25:48 -0400 Subject: [PATCH] Removes the ability to send a message to the guild owner when a user reaches level 50 or 100 --- commands/levels.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/levels.py b/commands/levels.py index 7948d84..e5ae7e7 100644 --- a/commands/levels.py +++ b/commands/levels.py @@ -61,9 +61,6 @@ class Levels(commands.Cog): await channel.send(f"{message.author.display_name} has reached level {user['level'] + 1}!") - if user['level'] == 50 or user['level'] == 100: - await message.guild.owner.send(f"{message.author.display_name} has reached level 50 or 100!") - # implementing roles role_coll = db.role role_guild = role_coll.find_one({"_id": message.guild.id})