mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
🎨 chore(*): run black to format the code
This commit is contained in:
@@ -45,9 +45,7 @@ async def fetch_messages_history(channel: discord.TextChannel, limit, original_m
|
||||
if len(messages) == limit:
|
||||
break
|
||||
else:
|
||||
async for msg in channel.history(
|
||||
limit=100, before=original_message
|
||||
):
|
||||
async for msg in channel.history(limit=100, before=original_message):
|
||||
if not is_ignorable(msg.content):
|
||||
messages.append(msg)
|
||||
if len(messages) == limit:
|
||||
|
||||
Reference in New Issue
Block a user