Browse Source

added kill (first version)

quotes
angerstoner 7 years ago
parent
commit
828b2f3356
  1. 4
      schneiderbot.py

4
schneiderbot.py

@ -104,6 +104,9 @@ 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 kill(bot, update):
"""kill me pls"""
update.message.reply_text(update.message.from_user.first_name + " died")
def magie(bot, update): def magie(bot, update):
"""MAGIEEEEEE""" """MAGIEEEEEE"""
@ -191,6 +194,7 @@ def main():
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("shrug", shrug)) dp.add_handler(CommandHandler("shrug", shrug))
dp.add_handler(CommandHandler("kill", kill))
# log all errors # log all errors

Loading…
Cancel
Save