refactor: clean up
This commit is contained in:
parent
aeee9738a4
commit
4c6880b342
@ -366,7 +366,7 @@ class GoCQHttp(BaseClient):
|
|||||||
|
|
||||||
efb_msg = Message(
|
efb_msg = Message(
|
||||||
chat=chat,
|
chat=chat,
|
||||||
uid=MessageID([[f"{chat.uid.split('_')[-1]}_{coolq_msg_id}"]])
|
uid=MessageID(f"{chat.uid.split('_')[-1]}_{coolq_msg_id}")
|
||||||
)
|
)
|
||||||
coordinator.send_status(MessageRemoval(source_channel=self.channel,
|
coordinator.send_status(MessageRemoval(source_channel=self.channel,
|
||||||
destination_channel=coordinator.master,
|
destination_channel=coordinator.master,
|
||||||
@ -382,7 +382,7 @@ class GoCQHttp(BaseClient):
|
|||||||
return
|
return
|
||||||
efb_msg = Message(
|
efb_msg = Message(
|
||||||
chat=chat,
|
chat=chat,
|
||||||
uid=MessageID([[f"{chat.uid.split('_')[-1]}_{coolq_msg_id}"]])
|
uid=MessageID(f"{chat.uid.split('_')[-1]}_{coolq_msg_id}")
|
||||||
)
|
)
|
||||||
coordinator.send_status(MessageRemoval(source_channel=self.channel,
|
coordinator.send_status(MessageRemoval(source_channel=self.channel,
|
||||||
destination_channel=coordinator.master,
|
destination_channel=coordinator.master,
|
||||||
|
Loading…
Reference in New Issue
Block a user