Allow moderators to ban and unban users

This commit is contained in:
David Hoppenbrouwers
2022-10-11 00:17:48 +02:00
parent 1969615a28
commit 531c9fba64
4 changed files with 52 additions and 15 deletions

View File

@@ -158,7 +158,7 @@ class DB:
def get_user_public_info(self, user_id):
return self._db().execute('''
select name, about
select name, about, banned_until
from users
where user_id = ?
''',