diff --git a/bot/commands/turtle.py b/bot/commands/turtle.py index 9d3e058..c71cc4a 100644 --- a/bot/commands/turtle.py +++ b/bot/commands/turtle.py @@ -5,6 +5,7 @@ from telegram import InlineKeyboardButton, InlineKeyboardMarkup from telegram import Update import re import random +import time from .basehandler import BaseHandler @@ -48,7 +49,18 @@ class TurtleHandler(BaseHandler): answertxt = "" if vid!=None: - await update.message.reply_video(video=vid, caption=answertxt) + if re.search(turtle_emoji, msgtxt): + await update.message.reply_text(text=answertxt) + time.sleep(1) + await update.message.reply_text(text="3") + time.sleep(1) + await update.message.reply_text(text="2") + time.sleep(1) + await update.message.reply_text(text="1") + time.sleep(1) + await update.message.reply_video(video=vid, caption="Kaboom!") + else: + await update.message.reply_video(video=vid, caption=answertxt) else: await update.message.reply_text(text=answertxt) \ No newline at end of file