Move session file to data folder
This commit is contained in:
parent
9b317ad658
commit
59aa6c56ca
0
data/.gitkeep
Normal file
0
data/.gitkeep
Normal 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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user