This commit is contained in:
13
bot/commands/turtle.py
Normal file
13
bot/commands/turtle.py
Normal 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_
|
Reference in New Issue
Block a user