Reorder commands on telegram init

This commit is contained in:
Matthias
2020-12-09 20:26:11 +01:00
parent 3ab5514697
commit 33f330256b
3 changed files with 12 additions and 6 deletions

View File

@@ -99,6 +99,7 @@ class Telegram(RPC):
CommandHandler('trades', self._trades),
CommandHandler('delete', self._delete_trade),
CommandHandler('performance', self._performance),
CommandHandler('stats', self._stats),
CommandHandler('daily', self._daily),
CommandHandler('count', self._count),
CommandHandler('locks', self._locks),
@@ -111,7 +112,6 @@ class Telegram(RPC):
CommandHandler('edge', self._edge),
CommandHandler('help', self._help),
CommandHandler('version', self._version),
CommandHandler('stats', self._stats),
]
for handle in handles:
self._updater.dispatcher.add_handler(handle)