a script to populate databases, and a command to see chat id
This commit is contained in:
parent
7d48ffa35c
commit
54be2516fe
2 changed files with 39 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue