Update tgbot.py

pull/393/head
midoks 2 years ago
parent 9ab91ecc93
commit 87bec2b988
  1. 12
      plugins/tgbot/startup/tgbot.py

@ -95,14 +95,14 @@ bot.set_my_commands(
) )
@bot.message_handler(commands=['start', 'help']) # @bot.message_handler(commands=['start', 'help'])
def hanle_start_help(message): # def hanle_start_help(message):
bot.reply_to(message, "hello world") # bot.reply_to(message, "hello world")
@bot.message_handler(commands=['mw_echo']) # @bot.message_handler(commands=['mw_echo'])
def hanle_mw_echo(message): # def hanle_mw_echo(message):
bot.reply_to(message, message.text) # bot.reply_to(message, message.text)
@bot.message_handler(commands=['chat_id']) @bot.message_handler(commands=['chat_id'])

Loading…
Cancel
Save