async def tele(event): allu = len(full_userbase()) blu = len(all_bl_users()) await tgbot.send_message( event.chat_id, "Here is the stats for your bot:\nTotal Users = {}\nBlacklisted Users = {}" .format(allu, blu))
async def settings(event): if event.sender_id == OWNER_ID: allu = len(full_userbase()) blu = len(all_bl_users()) pop = "Here is the stats for your bot:\nTotal Users = {}\nBlacklisted Users = {}".format( allu, blu) await event.answer(pop, alert=True) else: await event.answer("You can't use this bot.", alert=True)