mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-20 03:16:14 +00:00
fix: 更新插件后多余的'[bot]'
This commit is contained in:
@@ -132,7 +132,7 @@ def plugin_operation(cmd, params, is_admin):
|
|||||||
import main
|
import main
|
||||||
main.reset_logging()
|
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()
|
threading.Thread(target=closure).start()
|
||||||
reply = ["[bot]正在更新所有插件,请勿重复发起..."]
|
reply = ["[bot]正在更新所有插件,请勿重复发起..."]
|
||||||
|
|||||||
Reference in New Issue
Block a user