Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit da1c0ad

Browse files
authored
Increase chat history limit from 10 to 30
1 parent babcd80 commit da1c0ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/cfbans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def _choose_and_perform_fed_action(bot: BOT, message: Message, with_proof:
119119
pass
120120

121121
replies = []
122-
async for msg in bot.get_chat_history(chat_id=fed["_id"], limit=10):
122+
async for msg in bot.get_chat_history(chat_id=fed["_id"], limit=30):
123123
if msg.reply_to_message_id == cmd_msg.id:
124124
replies.append(msg)
125125

0 commit comments

Comments
 (0)