mirror of
https://github.com/Steffo99/greed.git
synced 2024-12-01 01:54:18 +00:00
10 lines
279 B
Python
10 lines
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()
|