Исправление маркДАУНА

This commit is contained in:
Your Name 2024-12-04 21:04:51 +03:00
parent f6e107580b
commit bac5ba9f36

6
tg.py
View File

@ -289,11 +289,13 @@ def gen_token_tg(message):
@bot.message_handler(commands=['chat_id'])
def chat_id(message):
bot.reply_to(message, f'chat_id: `{message.chat.id}`', parse_mode='Markdown')
print(message.chat.id)
print(f'chat_id: `{message.chat.id}`')
bot.reply_to(message, f'chat\_id: `{message.chat.id}`', parse_mode='Markdown')
@bot.message_handler(commands=['user_id'])
def user_id(message):
bot.reply_to(message, f'user_id: `{message.from_user.id}`', parse_mode='Markdown')
bot.reply_to(message, f'user\_id: `{message.from_user.id}`', parse_mode='Markdown')
@bot.message_handler(func=lambda message: True)