Add complete list of keyboard, as in the help.
This commit is contained in:
parent
68a5e0c51b
commit
c218abba3b
@ -19,7 +19,6 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
logger.debug('Included module rpc.telegram ...')
|
||||
|
||||
|
||||
MAX_TELEGRAM_MESSAGE_LENGTH = 4096
|
||||
|
||||
|
||||
@ -29,6 +28,7 @@ def authorized_only(command_handler: Callable[..., None]) -> Callable[..., Any]:
|
||||
:param command_handler: Telegram CommandHandler
|
||||
:return: decorated function
|
||||
"""
|
||||
|
||||
def wrapper(self, *args, **kwargs):
|
||||
""" Decorator logic """
|
||||
update = kwargs.get('update') or args[0]
|
||||
@ -634,10 +634,12 @@ class Telegram(RPC):
|
||||
:param parse_mode: telegram parse mode
|
||||
:return: None
|
||||
"""
|
||||
|
||||
keyboard = [['/daily', '/profit', '/balance'],
|
||||
['/status', '/status table', '/performance'],
|
||||
['/count', '/start', '/stop', '/help']]
|
||||
keyboard = [["/start", "/stop", "/status", "/status table"],
|
||||
["/profit", "/forcebuy", "/forcesell"],
|
||||
["/performance", "/daily", "/count"],
|
||||
["/balance", "/stopbuy", "/reload_conf"],
|
||||
["/show_config", "/whitelist", "/blacklist"],
|
||||
["/edge", "/help", "/version"]]
|
||||
|
||||
reply_markup = ReplyKeyboardMarkup(keyboard)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user