improve /version output formatting

This commit is contained in:
Matthias 2023-04-27 06:43:57 +02:00
parent c4a0910908
commit 1d9933412a

View File

@ -1636,7 +1636,7 @@ class Telegram(RPCHandler):
strategy_version = self._rpc._freqtrade.strategy.version() strategy_version = self._rpc._freqtrade.strategy.version()
version_string = f'*Version:* `{__version__}`' version_string = f'*Version:* `{__version__}`'
if strategy_version is not None: if strategy_version is not None:
version_string += f', *Strategy version: * `{strategy_version}`' version_string += f'\n*Strategy version: * `{strategy_version}`'
await self._send_msg(version_string) await self._send_msg(version_string)