From 2f8511f0df4694f4cee6642592091e94d249a089 Mon Sep 17 00:00:00 2001 From: white-fang-leaf <90217445+white-fang-leaf@users.noreply.github.com> Date: Mon, 7 Jul 2025 00:02:59 +0530 Subject: [PATCH] Update channelhacks.py Added limit type none in the shift command. By default, it is restricted to sending id 0 to 100. By adding limit = none, that limit is bypassed --- plugins/channelhacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelhacks.py b/plugins/channelhacks.py index 561517a43..a9a8c7099 100644 --- a/plugins/channelhacks.py +++ b/plugins/channelhacks.py @@ -60,7 +60,7 @@ async def _(e): LOGS.exception(er) await z.edit(get_string("cha_1")) return - async for msg in e.client.iter_messages(int(c), reverse=True): + async for msg in e.client.iter_messages(int(c), reverse=True, limit=None): try: await asyncio.sleep(2) await e.client.send_message(int(d), msg)