From f81f3f864ae8cc88c81cf6254c263984c7d982d0 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Sun, 19 Feb 2023 04:44:48 +0000 Subject: [PATCH] Format Python code with psf/black push --- cogs/text_service_cog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cogs/text_service_cog.py b/cogs/text_service_cog.py index 25a6221..b7a6e95 100644 --- a/cogs/text_service_cog.py +++ b/cogs/text_service_cog.py @@ -572,8 +572,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"): if f"<@{self.bot.user.id}>" in message.content and not ( "@everyone" in message.content or "@here" in message.content ): - - # Remove the mention from the message prompt = message.content.replace(self.bot.user.mention, "") # If the message is empty, don't process it