diff options
author | 2024-08-06 19:12:34 +0100 | |
---|---|---|
committer | 2024-08-06 19:12:34 +0100 | |
commit | 9ab2a6cf2b706ec1cd8bb345d31e9cb91bd1d8c5 (patch) | |
tree | 4869965d9dbe00b6b889a785077496359d002627 | |
parent | Update check for LDAP bootstrap message (diff) |
Reformat with ruff format
-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: |