12 lines
304 B
Python
Executable file
12 lines
304 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import logging, telegram.ext
|
|
|
|
updater = telegram.ext.Updater(token=setuptools.token)
|
|
|
|
def start(bot, update):
|
|
bot.sendMessage(chat_id=update.message.chat_id, text="Heeeeeeey! :3")
|
|
|
|
updater.dispatch.add_handler(telegram.ext.CommandHandler("start", start)
|
|
|
|
updater.start_polling()
|