aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shambo Chowdhury <[email protected]>2024-06-26 22:12:52 +0530
committerGravatar GitHub <[email protected]>2024-06-26 22:12:52 +0530
commit98d806cceb00932ddced378608c5cb5d960811ef (patch)
tree91265dc38c3bc1e2c2e29072814752b45bddac83
parentUpdate bot/exts/moderation/modlog.py (diff)
Update bot/exts/moderation/modlog.py
Co-authored-by: Vivek Ashokkumar <[email protected]>
-rw-r--r--bot/exts/moderation/modlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py
index 2d614a04f..2ce516afb 100644
--- a/bot/exts/moderation/modlog.py
+++ b/bot/exts/moderation/modlog.py
@@ -592,7 +592,7 @@ class ModLog(Cog, name="ModLog"):
channel_id=Channels.message_log
)
- async def gather_replies(self, message: discord.Message) -> list:
+ async def gather_replies(self, message: discord.Message) -> list[Message]:
"""Gather replies to the given message."""
replies = []
async for msg in message.channel.history(after=message.created_at, limit=10):