mirror of https://github.com/Mai-with-u/MaiBot.git
🤖 自动格式化代码 [skip ci]
parent
0eb1320481
commit
220b51aa14
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue