From 59a6d4f9aaf96c3180e489aa213cefa90c256964 Mon Sep 17 00:00:00 2001 From: DEVENU <89598703+devenu85@users.noreply.github.com> Date: Sat, 5 Aug 2023 22:29:42 +0530 Subject: [PATCH] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b3448b01..a364a1d9 100644 --- a/bot.py +++ b/bot.py @@ -376,7 +376,7 @@ async def button(bot: Client, cmd: CallbackQuery): ) return except UserNotParticipant: - invite_link = await get_invite_link(channel_chat_id) + invite_link = await get_invite_link(bot, channel_chat_id) await cmd.message.edit( text="**You Still Didn't Join ☹️, Please Join My Updates Channel to use this Bot!**\n\n" "Due to Overload, Only Channel Subscribers can use the Bot!",