From 9ab2a6cf2b706ec1cd8bb345d31e9cb91bd1d8c5 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 6 Aug 2024 19:12:34 +0100 Subject: Reformat with ruff format --- arthur/exts/directory/ldap.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arthur/exts/directory/ldap.py b/arthur/exts/directory/ldap.py index 68d002b..dd2fc6c 100644 --- a/arthur/exts/directory/ldap.py +++ b/arthur/exts/directory/ldap.py @@ -267,10 +267,7 @@ class LDAP(commands.Cog): other_messages = [] async for message in channel.history(limit=None, oldest_first=True): - if ( - message.author == self.bot.user - and "Python Discord LDAP" in message.content - ): + if message.author == self.bot.user and "Python Discord LDAP" in message.content: found_message = message if message.author == self.bot.user and len(message.mentions) > 0: -- cgit v1.2.3