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

/qs not working when the chat group creator has deleted the account #26

Open
endes0 opened this issue Dec 21, 2020 · 1 comment
Open
Labels
good first issue Good for newcomers

Comments

@endes0
Copy link

endes0 commented Dec 21, 2020

When the chat creator admin has deleted the tg account, the bots fails with this message:

I wasn't able to save that sticker.
Error: 400: Bad Request: have no access to the user

I think the problem is in

if (administrator.status === 'creator') chatAdministrator = administrator.user
, it doesn't check if the user still exists.

@LyoSU
Copy link
Owner

LyoSU commented Dec 21, 2020

I know about it. I'll fix it as the time will be. PR is welcome

@LyoSU LyoSU added the good first issue Good for newcomers label Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants