1
Fork 0
mirror of https://github.com/Steffo99/greed.git synced 2024-12-01 01:54:18 +00:00
greed/bot.py

10 lines
279 B
Python
Raw Normal View History

2017-08-30 18:47:15 +00:00
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()