Move session file to data folder
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user