From a09dca536d06ddab88bb9c0dfab5bac060b99486 Mon Sep 17 00:00:00 2001 From: Kamal Curi Date: Wed, 19 Jul 2023 17:11:05 -0300 Subject: [PATCH] =?UTF-8?q?ADD:=20anti-lambe=C3=A7=C3=A3o=20de=20caceta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- motd | 2 +- utils/commands.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/motd b/motd index 8c9dff4..9af19b4 100644 --- a/motd +++ b/motd @@ -5,7 +5,7 @@ █ ▄ █ ▄▄▄█ ▄▄▄█ ▄ ██ █▄▄▄█ ▄▄▄█ █ █ █ █ █▄▄▄█ █▄▄▄█ █▄█ █ █ █▄▄▄ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ -Neeble version: 2023.07.19 +Neeble version: 2023.07.19a Help with the development of neeble-bot in https://brejela.club/neeble-club/neeble Thank you! diff --git a/utils/commands.py b/utils/commands.py index bf9f10f..ecda1e1 100644 --- a/utils/commands.py +++ b/utils/commands.py @@ -82,6 +82,9 @@ async def grab_quote(bot: object, *author: str) -> str: if not author: return await bot.send("You haven\'t told me whose sentence I'm supposed to grab!") + if author == bot.author.name: + return await bot.send("ALERTA LAMBEÇÃO DE CACETA") + if author in quote_content.keys(): try: grabber = bot.author.name