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

Работа с админами и чатами из БД #73

Open
atassis opened this issue Jun 20, 2018 · 0 comments
Open

Работа с админами и чатами из БД #73

atassis opened this issue Jun 20, 2018 · 0 comments

Comments

@atassis
Copy link
Member

atassis commented Jun 20, 2018

Предлагаю переработать работу с вышеуказанными сущностями- помечать пользователей как имеющих права администратора или нет, а также добавить action в самого бота, с помощью которого администраторы смогут добавить чат в список администрируемых (вместо .chatlist.json)
Перед выполнением данного действия, например, проверять, является ли юзер админом, находится ли бот в чате и имеет ли нужные права

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants