🐛 修复踢出群组回复内容错误 (#1911)

* 🐛 修复文本显示错误

* 💬 文本修容修正
This commit is contained in:
HibiKier 2025-05-25 11:47:38 +08:00 committed by GitHub
parent 8c0a600525
commit b5c2850e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 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(

View File

@ -92,7 +92,7 @@ async def enable_task(
)
await BotConsole.enable_task(None, task.module)
await MessageUtils.build_message(
f"禁用全部 bot 的被动: {task_name.available}"
f"开启全部 bot 的被动: {task_name.available}"
).finish()
elif bot_id.available:
logger.info(