a script to populate databases, and a command to see chat id

This commit is contained in:
Von Random 2023-11-01 02:01:19 +00:00
parent 7d48ffa35c
commit 54be2516fe
2 changed files with 39 additions and 0 deletions

View file

@ -84,6 +84,8 @@ class Commander:
response = 'failure'
elif command.startswith('/adduser '):
self.__add_user(sender.id, command[9:])
elif command == '/chat':
response = str(event.message.peer_id)
elif command == '/list':
response = ', '.join(self.available_tokens)
elif command == '/users':