From a203a2e957a1760f07220804972d30ea852d2424 Mon Sep 17 00:00:00 2001 From: angerstoner Date: Wed, 3 Oct 2018 10:48:54 +0200 Subject: [PATCH] revive --- schneiderbot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schneiderbot.py b/schneiderbot.py index 5e94cce..11bff65 100644 --- a/schneiderbot.py +++ b/schneiderbot.py @@ -127,6 +127,10 @@ def kill(bot, update): """kill me pls""" update.message.reply_text(update.message.from_user.first_name + " died") +def revive(bot, update): + """unkill me pls""" + update.message.reply_text(update.message.from_user.first_name + " is no longer dead!") + def sendCatDog(bot, update): """Best of both worlds!""" catdog = "https://upload.wikimedia.org/wikipedia/en/6/64/CatDog.jpeg" @@ -229,6 +233,7 @@ def main(): dp.add_handler(CommandHandler("catdog", sendCatDog)) dp.add_handler(CommandHandler("shrug", shrug)) dp.add_handler(CommandHandler("kill", kill)) + dp.add_handler(CommandHandler("revive", revive)) dp.add_handler(CommandHandler("simon", simon))