Full data erase on stop command

This commit is contained in:
Kylmakalle 2017-07-02 03:54:53 +03:00
parent 6bd00c6ff2
commit 08cffa27c4

2
bot.py
View File

@ -176,6 +176,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):