diff --git a/main/__init__.py b/main/__init__.py new file mode 100644 index 00000000..ec076a65 --- /dev/null +++ b/main/__init__.py @@ -0,0 +1,16 @@ +#ChauhanMahesh/Vasusen/DroneBots/COL + +from telethon import TelegramClient +from decouple import config +import logging +import time + +logging.basicConfig(format='[%(levelname) 5s/%(asctime)s] %(name)s: %(message)s', + level=logging.WARNING) + +# Basics +API_ID = config("API_ID", default=None, cast=int) +API_HASH = config("API_HASH", default=None) +BOT_TOKEN = config("BOT_TOKEN", default=None) + +bot = TelegramClient('bot', API_ID, API_HASH).start(bot_token=BOT_TOKEN)