diff options
-rw-r--r-- | arthur/exts/directory/ldap.py | 5 |
1 files changed, 1 insertions, 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: |