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

print error create portal #841

Closed
armruss opened this issue Sep 24, 2022 · 0 comments
Closed

print error create portal #841

armruss opened this issue Sep 24, 2022 · 0 comments

Comments

@armruss
Copy link

armruss commented Sep 24, 2022

command !tg create
no exemption treatment. We need to make it

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mautrix/bridge/commands/handler.py", line 491, in handle
    await self._run_handler(handler, evt)
  File "/usr/lib/python3.10/site-packages/mautrix_telegram/commands/handler.py", line 192, in _run_handler
    return await handler(evt)
  File "/usr/lib/python3.10/site-packages/mautrix/bridge/commands/handler.py", line 340, in __call__
    return await self._handler(evt)
  File "/usr/lib/python3.10/site-packages/mautrix_telegram/commands/portal/create_chat.py", line 80, in create
    await portal.create_telegram_chat(evt.sender, invites=invites, supergroup=supergroup)
  File "/usr/lib/python3.10/site-packages/mautrix_telegram/portal.py", line 552, in create_telegram_chat
    response = await source.client(
  File "/usr/lib/python3.10/site-packages/telethon/client/users.py", line 30, in __call__
    return await self._call(self._sender, request, ordered=ordered)
  File "/usr/lib/python3.10/site-packages/telethon/client/users.py", line 88, in _call
    result = await future
telethon.errors.rpcerrorlist.UserRestrictedError: You're spamreported, you can't create channels or chats. (caused by CreateChannelRequest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants