From 53ed671ad86e99983413681a77d8a8b7e3a160b3 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Sun, 31 Dec 2023 10:33:15 +0000 Subject: [PATCH] Format Python code with psf/black push --- cogs/text_service_cog.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cogs/text_service_cog.py b/cogs/text_service_cog.py index 2f279b5c..e6441a02 100644 --- a/cogs/text_service_cog.py +++ b/cogs/text_service_cog.py @@ -767,7 +767,9 @@ async def on_message(self, message: discord.Message): if f"<@{self.bot.user.id}>" in message.content and not ( "@everyone" in message.content or "@here" in message.content ): - if not BOT_TAGGABLE or conversation_processed: # Don't go through the tagging system if we're in a conversation + if ( + not BOT_TAGGABLE or conversation_processed + ): # Don't go through the tagging system if we're in a conversation return # Check if any of the message author's role names are in BOT_TAGGABLE_ROLES, if not, return