From b0bab42de462d4d2783a0e16a9deb26cc74c3749 Mon Sep 17 00:00:00 2001 From: Kaif <88398455+kaif-00z@users.noreply.github.com> Date: Sun, 17 Dec 2023 13:25:26 +0530 Subject: [PATCH] Fixed --- auto_env_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_env_gen.py b/auto_env_gen.py index 4410b7d..917bc20 100644 --- a/auto_env_gen.py +++ b/auto_env_gen.py @@ -141,7 +141,7 @@ async def auto_maker(): chat_id = await create_channel(client, ch_name) await asyncio.sleep(3) await client.edit_admin( - chat_id, + int(chat_id), username, post_messages=True, edit_messages=True,