perf: 修改指令不存在时的提示信息

This commit is contained in:
Rock Chin
2023-05-18 19:44:20 +08:00
parent 6d8eebd314
commit 5eded50c53
2 changed files with 2 additions and 2 deletions

View File

@@ -260,8 +260,8 @@ def execute(context: Context) -> list:
while True:
try:
logging.debug('执行指令: {}'.format(path))
node = __command_list__[path]
logging.debug('执行指令: {}'.format(path))
# 检查权限
if ctx.privilege < node['privilege']: