1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-11-30 17:44:18 +00:00
greed/bot.py

10 lines
No EOL
279 B
Python

from telegram.ext import Updater
import logging
import os
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
if __name__ == "__main__":
bot = Updater(os.environ("telegram_api_key"))
bot.start_polling()
bot.idle()