Update tgbot.py

This commit is contained in:
midoks
2023-03-15 18:06:14 +08:00
parent 9ab91ecc93
commit 87bec2b988
+6 -6
View File
@@ -95,14 +95,14 @@ bot.set_my_commands(
)
@bot.message_handler(commands=['start', 'help'])
def hanle_start_help(message):
bot.reply_to(message, "hello world")
# @bot.message_handler(commands=['start', 'help'])
# def hanle_start_help(message):
# bot.reply_to(message, "hello world")
@bot.message_handler(commands=['mw_echo'])
def hanle_mw_echo(message):
bot.reply_to(message, message.text)
# @bot.message_handler(commands=['mw_echo'])
# def hanle_mw_echo(message):
# bot.reply_to(message, message.text)
@bot.message_handler(commands=['chat_id'])