13 lines
500 B
Python
13 lines
500 B
Python
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_ |