|
@ -123,6 +123,11 @@ def help(bot, update): |
|
|
|
|
|
|
|
|
/help - this help text""", parse_mode=ParseMode.MARKDOWN) |
|
|
/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): |
|
|
def magie(bot, update): |
|
|
"""MAGIEEEEEE""" |
|
|
"""MAGIEEEEEE""" |
|
|
rand = random.SystemRandom() |
|
|
rand = random.SystemRandom() |
|
@ -201,6 +206,7 @@ def main(): |
|
|
dp.add_handler(CommandHandler("magie", magie)) |
|
|
dp.add_handler(CommandHandler("magie", magie)) |
|
|
dp.add_handler(CommandHandler("manta", manta)) |
|
|
dp.add_handler(CommandHandler("manta", manta)) |
|
|
dp.add_handler(CommandHandler("mensa", mensa, pass_args=True)) |
|
|
dp.add_handler(CommandHandler("mensa", mensa, pass_args=True)) |
|
|
|
|
|
dp.add_handler(CommandHandler("cat", cat)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# log all errors |
|
|
# log all errors |
|
|