Full data erase on /stop command

This commit is contained in:
Kylmakalle 2017-07-02 03:54:15 +03:00
parent 8f7c570b48
commit 89141f5535

2
bot.py
View File

@ -173,6 +173,8 @@ def stop_thread(message):
t.terminate()
th.join()
vk_tokens.delete(str(message.from_user.id))
vk_dialogs.pop(str(message.from_user.id), None)
currentchat.pop(str(message.from_user.id), None)
def extract_unique_code(text):