refactor: clean up
This commit is contained in:
parent
aeee9738a4
commit
4c6880b342
@ -366,7 +366,7 @@ class GoCQHttp(BaseClient):
|
||||
|
||||
efb_msg = Message(
|
||||
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,
|
||||
destination_channel=coordinator.master,
|
||||
@ -382,7 +382,7 @@ class GoCQHttp(BaseClient):
|
||||
return
|
||||
efb_msg = Message(
|
||||
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,
|
||||
destination_channel=coordinator.master,
|
||||
|
Loading…
Reference in New Issue
Block a user