Browse Source

CatDog! Hoste ich morgen selbst

master
Quentin 7 years ago
parent
commit
6c5c767da1
  1. 5
      schneiderbot.py

5
schneiderbot.py

@ -104,6 +104,10 @@ def sendDog(bot, update):
dog = pydog.PyDog() dog = pydog.PyDog()
bot.send_photo(chat_id=update.message.chat_id, photo=dog.get_random_image()) bot.send_photo(chat_id=update.message.chat_id, photo=dog.get_random_image())
def sendCatDog(bot, update):
"""Best of both worlds!"""
catdog = "https://upload.wikimedia.org/wikipedia/en/6/64/CatDog.jpeg"
bot.send_photo(chat_id=update.message.chat_id, photo=catdog)
def magie(bot, update): def magie(bot, update):
"""MAGIEEEEEE""" """MAGIEEEEEE"""
@ -190,6 +194,7 @@ def main():
dp.add_handler(CommandHandler("mensa", mensa, pass_args=True)) dp.add_handler(CommandHandler("mensa", mensa, pass_args=True))
dp.add_handler(CommandHandler("cat", sendCat)) dp.add_handler(CommandHandler("cat", sendCat))
dp.add_handler(CommandHandler("dog", sendDog)) dp.add_handler(CommandHandler("dog", sendDog))
dp.add_handler(CommandHandler("catdog", sendCatDog))
dp.add_handler(CommandHandler("shrug", shrug)) dp.add_handler(CommandHandler("shrug", shrug))

Loading…
Cancel
Save