From 542f9d933fbc2b0beef2846c3a65b186ff76e44b Mon Sep 17 00:00:00 2001 From: lavadk Date: Sat, 10 Apr 2021 15:30:10 +0300 Subject: [PATCH] Password handling update --- liker/command/params.py | 13 ++----------- tengine | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/liker/command/params.py b/liker/command/params.py index 55139fa..8ab6842 100644 --- a/liker/command/params.py +++ b/liker/command/params.py @@ -1,15 +1,6 @@ -from tengine import CommandParam +from tengine import CommandParam, tengine_command_params -command_params = [ - CommandParam(name='--password', - help_str='Password to access the bot admin commands', - param_type=str), - CommandParam(name='--name', - help_str='Name of a variable to read', - param_type=str), - CommandParam(name='--value', - help_str='Value to set', - param_type=str), +command_params = tengine_command_params.params + [ CommandParam(name='--channel_id', help_str='Channel id', param_type=str), diff --git a/tengine b/tengine index e97b63c..7f00465 160000 --- a/tengine +++ b/tengine @@ -1 +1 @@ -Subproject commit e97b63ca246b4f7221c82c8302bf1ec201d0c60f +Subproject commit 7f004657e5f094dbddf2b59f393e1c6c952ad9e9