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!",