There should be a way to ban members if needed.
The bot should accept a list of user ids which are admins via config, these accounts should be able to run /ban command, which would prevent member from logging in.
TODO:
New column in db; is_banned: bool
New bot command: /ban username - if username is present (and is member) then they are marked as banned
When authorizing user check is_banned, if True, drop connection or smth
Feature type
This feature is new
Target platform
Server
Describe the request
There should be a way to ban members if needed. The bot should accept a list of user ids which are admins via config, these accounts should be able to run /ban command, which would prevent member from logging in.
TODO:
is_banned: bool
/ban username
- if username is present (and is member) then they are marked as bannedis_banned
, if True, drop connection or smthAdditional information
No response