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