Fix /stats Formatting issue in multi-message settings
This commit is contained in:
parent
3e7bf6a9ef
commit
f64f2b1ad8
@ -785,7 +785,7 @@ class Telegram(RPCHandler):
|
|||||||
headers=['Exit Reason', 'Exits', 'Wins', 'Losses']
|
headers=['Exit Reason', 'Exits', 'Wins', 'Losses']
|
||||||
)
|
)
|
||||||
if len(exit_reasons_tabulate) > 25:
|
if len(exit_reasons_tabulate) > 25:
|
||||||
self._send_msg(exit_reasons_msg, ParseMode.MARKDOWN)
|
self._send_msg(f"```\n{exit_reasons_msg}```", ParseMode.MARKDOWN)
|
||||||
exit_reasons_msg = ''
|
exit_reasons_msg = ''
|
||||||
|
|
||||||
durations = stats['durations']
|
durations = stats['durations']
|
||||||
|
Loading…
Reference in New Issue
Block a user