🐛 修复文本显示错误

This commit is contained in:
HibiKier 2025-05-19 15:51:41 +08:00
parent ff75e2ee92
commit 4b076542f2
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ async def _(
group_id = str(event.group_id)
if event.sub_type == "kick_me":
"""踢出Bot"""
await GroupManager.kick_bot(bot, user_id, group_id)
await GroupManager.kick_bot(bot, group_id, str(event.operator_id))
elif event.sub_type in ["leave", "kick"]:
result = await GroupManager.run_user(
bot, user_id, group_id, str(event.operator_id), event.sub_type

View File

@ -110,7 +110,7 @@ async def enable_plugin(
)
await BotConsole.enable_plugin(None, plugin.module)
await MessageUtils.build_message(
f"禁用全部 bot 的插件: {plugin_name.result}"
f"开启全部 bot 的插件: {plugin_name.result}"
).finish()
elif bot_id.available:
logger.info(