fix: 更新插件后多余的'[bot]'

This commit is contained in:
Rock Chin
2023-01-17 14:32:20 +08:00
parent 680085d16f
commit ba2c362082

View File

@@ -132,7 +132,7 @@ def plugin_operation(cmd, params, is_admin):
import main
main.reset_logging()
pkg.utils.context.get_qqbot_manager().notify_admin("[bot]已更新插件: {}".format(", ".join(updated)))
pkg.utils.context.get_qqbot_manager().notify_admin("已更新插件: {}".format(", ".join(updated)))
threading.Thread(target=closure).start()
reply = ["[bot]正在更新所有插件,请勿重复发起..."]