Escape title
This commit is contained in:
parent
36c25a17c0
commit
27141d7eac
2
main.py
2
main.py
@ -30,7 +30,7 @@ def stream_message_worker(data: dict):
|
||||
if data['type'] == 'live':
|
||||
# Для удобства выносим в переменные
|
||||
game_name = data['game_name']
|
||||
stream_title = data['title']
|
||||
stream_title = telebot.formatting.escape_markdown(data['title'])
|
||||
stream_viewers = str(data['viewer_count'])
|
||||
|
||||
# Получаем скрин стрима
|
||||
|
Loading…
Reference in New Issue
Block a user