🤖 自动格式化代码 [skip ci]
This commit is contained in:
@@ -68,7 +68,7 @@ class PluginAction(BaseAction):
|
||||
chatting_observation: ChattingObservation = next(
|
||||
obs for obs in observations if isinstance(obs, ChattingObservation)
|
||||
)
|
||||
|
||||
|
||||
anchor_message = chatting_observation.search_message_by_text(target)
|
||||
|
||||
# 如果没有找到锚点消息,创建一个占位符
|
||||
|
||||
@@ -41,8 +41,8 @@ class MuteAction(PluginAction):
|
||||
|
||||
try:
|
||||
await self.send_message(
|
||||
type = "text",
|
||||
data = f"[command]mute,{user_id},{duration}",
|
||||
type="text",
|
||||
data=f"[command]mute,{user_id},{duration}",
|
||||
# target = target
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user