Move session file to data folder

This commit is contained in:
Tanner Collin 2021-03-26 21:49:03 +00:00
parent 9b317ad658
commit 59aa6c56ca
2 changed files with 1 additions and 1 deletions

0
data/.gitkeep Normal file
View File

View File

@ -6,7 +6,7 @@ import re
import settings
from telethon import TelegramClient, events
bot = TelegramClient('bot', settings.API_ID, settings.API_HASH).start(bot_token=settings.API_TOKEN)
bot = TelegramClient('data/bot', settings.API_ID, settings.API_HASH).start(bot_token=settings.API_TOKEN)
web = None
api = lambda route: settings.DYNMAP_ADDRESS + route
md5 = lambda name: int(hashlib.md5(name.encode()).hexdigest(), 16)