Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I log in from Telethon it crashes from all accounts. #4269

Closed
3 tasks done
ghost opened this issue Dec 9, 2023 · 1 comment
Closed
3 tasks done

When I log in from Telethon it crashes from all accounts. #4269

ghost opened this issue Dec 9, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 9, 2023

Code that causes the issue

async def main():
    async with TelegramClient('ExoSuit', api_id, api_hash) as client:
        @client.on(events.NewMessage(pattern='.ExoSuit'))
        async def handle_info(event):
            await get_system_info(event)
        await client.run_until_disconnected()

Expected behavior

When I execute the code, when I log into my account, it crashes from all devices. I expected to see that the account would not crash

Actual behavior

When I execute the code, when I log into my account, it crashes from all devices.

Traceback

No response

Telethon version

1.31.1

Python version

3.11.6 64-bit

Operating system (including distribution name and version)

Windows 11

Other details

No response

Checklist

  • The error is in the library's code, and not in my own.
  • I have searched for this issue before posting it and there isn't an open duplicate.
  • I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
@Lonami
Copy link
Member

Lonami commented Dec 9, 2023

Duplicate of #4051.

@Lonami Lonami closed this as completed Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant