Browse Source

Merge branch 'master' of quentin/schneiderbot-tg-fork into master

quotes
Maik Wegener 7 years ago
committed by Gogs
parent
commit
cdf45bc626
  1. 5
      schneiderbot.py

5
schneiderbot.py

@ -104,6 +104,10 @@ def sendDog(bot, update):
dog = pydog.PyDog()
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):
"""MAGIEEEEEE"""
@ -190,6 +194,7 @@ def main():
dp.add_handler(CommandHandler("mensa", mensa, pass_args=True))
dp.add_handler(CommandHandler("cat", sendCat))
dp.add_handler(CommandHandler("dog", sendDog))
dp.add_handler(CommandHandler("catdog", sendCatDog))
dp.add_handler(CommandHandler("shrug", shrug))

Loading…
Cancel
Save