Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
This commit is contained in:
@@ -122,7 +122,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