From ba632eaa4de4afe49fd9bf5d983a63b744c5897c Mon Sep 17 00:00:00 2001 From: angerstoner Date: Mon, 2 Apr 2018 01:53:44 +0200 Subject: [PATCH] cats! --- schneiderbot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schneiderbot.py b/schneiderbot.py index 8465a94..382a476 100644 --- a/schneiderbot.py +++ b/schneiderbot.py @@ -123,6 +123,11 @@ def help(bot, update): /help - this help text""", parse_mode=ParseMode.MARKDOWN) +def cat(bot, update): + """CUTE""" + bot.send_photo(chat_id=update.message.chat_id, photo='http://78.media.tumblr.com/tumblr_lxqp5pDJuv1qejbiro1_1280.jpg') + + def magie(bot, update): """MAGIEEEEEE""" rand = random.SystemRandom() @@ -201,6 +206,7 @@ def main(): dp.add_handler(CommandHandler("magie", magie)) dp.add_handler(CommandHandler("manta", manta)) dp.add_handler(CommandHandler("mensa", mensa, pass_args=True)) + dp.add_handler(CommandHandler("cat", cat)) # log all errors