This commit is contained in:
SengokuCola
2025-06-11 00:19:30 +08:00
parent 22aae4d1cd
commit 8fb3662c03
7 changed files with 11 additions and 54 deletions

View File

@@ -15,7 +15,7 @@
- 禁言命令Command - 手动执行禁言操作
"""
from typing import List, Tuple, Type, Optional, Dict, Any
from typing import List, Tuple, Type, Optional
import random
# 导入新插件系统
@@ -169,7 +169,7 @@ class MuteAction(BaseAction):
else:
error_msg = "发送禁言命令失败"
logger.error(f"{self.log_prefix} {error_msg}")
await self.send_reply(f"执行禁言动作失败")
await self.send_reply("执行禁言动作失败")
return False, error_msg
def _get_template_message(self, target: str, duration_str: str, reason: str) -> str: