Skip to content

Commit

Permalink
修复已知问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonely-Sails committed Jul 12, 2024
1 parent 64e856e commit ea9ca4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*\.DS_Store
BotServer-v*.*.*.zip
Test.py
Test.py
.DS_Store
1 change: 1 addition & 0 deletions BotServer/Plugins/Commands/Command.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def command_handle(args: list):
if result := server_manager.execute(command, server):
if server:
yield F'服务器 [{server}] 执行命令完毕!返回值为 {result if result else "空"} 。'
return None
yield '命令已发送到所有服务器!服务器回应:'
for name, response in result.items():
yield F' [{name}] -> {response if response else "无返回值"}'
Expand Down

0 comments on commit ea9ca4d

Please sign in to comment.