Fix pyromod

This commit is contained in:
yasir 2023-02-07 09:23:46 +07:00
parent 82ffddbfc9
commit 3118134cd6

View file

@ -199,7 +199,7 @@ async def generate_session(bot, msg, telethon=False, is_bot: bool = False):
string_session = client.session.save()
else:
string_session = await client.export_session_string()
text = f"**This is your {ty} String Session** \n\n`{string_session}` \n\n**Generated By :** @{client.me.username}\n🍒 **Note :** Don't share it to anyone And don't forget to support this owner bot if you like🥺"
text = f"**This is your {ty} String Session** \n\n`{string_session}` \n\n**Generated By :** @{bot.me.username}\n🍒 **Note :** Don't share it to anyone And don't forget to support this owner bot if you like🥺"
try:
if not is_bot:
await client.send_message("me", text)