minor improvements
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-01 22:49:31 +02:00
parent ba3845496e
commit dec12b5576
5 changed files with 100 additions and 23 deletions

13
bot/commands/turtle.py Normal file
View File

@@ -0,0 +1,13 @@
from telegram.ext import ConversationHandler, CommandHandler, MessageHandler, filters, CallbackQueryHandler
from telegram import InlineKeyboardButton, InlineKeyboardMarkup
from .basehandler import BaseHandler
class TurtleHandler(BaseHandler):
def __init__(self):
self.handler = MessageHandler(filters.Regex(r"Hallo|hallo"), self.entry_point)
pass
async def entry_point(self, update, context):
await super().entry_point(update, context)
update.message.reply_