Skip to content

Commit

Permalink
Format Python code with psf/black push
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and github-actions committed Dec 31, 2023
1 parent 01de45a commit 53ed671
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cogs/text_service_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ed671

Please sign in to comment.