mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update tgbot.py
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user