|
|
@ -104,6 +104,9 @@ def sendDog(bot, update): |
|
|
|
dog = pydog.PyDog() |
|
|
|
bot.send_photo(chat_id=update.message.chat_id, photo=dog.get_random_image()) |
|
|
|
|
|
|
|
def kill(bot, update): |
|
|
|
"""kill me pls""" |
|
|
|
update.message.reply_text(update.message.from_user.first_name + " died") |
|
|
|
|
|
|
|
def magie(bot, update): |
|
|
|
"""MAGIEEEEEE""" |
|
|
@ -191,6 +194,7 @@ def main(): |
|
|
|
dp.add_handler(CommandHandler("cat", sendCat)) |
|
|
|
dp.add_handler(CommandHandler("dog", sendDog)) |
|
|
|
dp.add_handler(CommandHandler("shrug", shrug)) |
|
|
|
dp.add_handler(CommandHandler("kill", kill)) |
|
|
|
|
|
|
|
|
|
|
|
# log all errors |
|
|
|