refactored bot code
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
def register(bot):
|
||||
@bot.message_handler(func=lambda message: True)
|
||||
def handle_unknown(message):
|
||||
bot.reply_to(message, f"You said: {message.text}")
|
||||
Reference in New Issue
Block a user