Fix /stats Formatting issue in multi-message settings
This commit is contained in:
@@ -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']
|
||||||
|
Reference in New Issue
Block a user