From ef57d539ff69b9c3357a6d685934135e94af5d9c Mon Sep 17 00:00:00 2001 From: Shambo Chowdhury <54593764+typhonshambo@users.noreply.github.com> Date: Wed, 26 Jun 2024 18:09:08 +0530 Subject: Update modlog.py --- bot/exts/moderation/modlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py index dcb2fa257..9ba30b8e8 100644 --- a/bot/exts/moderation/modlog.py +++ b/bot/exts/moderation/modlog.py @@ -597,7 +597,7 @@ class ModLog(Cog, name="ModLog"): async def gather_replies(self, message: discord.Message) -> list: """Gather replies to the given message.""" replies = [] - async for msg in message.channel.history(after=message.created_at, limit=100): + async for msg in message.channel.history(after=message.created_at, limit=10): if msg.reference and msg.reference.message_id == message.id: replies.append(msg) return replies -- cgit v1.2.3