mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-07-19 00:23:00 +08:00
fix compress
This commit is contained in:
parent
37c3751f0a
commit
d4d62da739
@ -30,7 +30,7 @@ class Post:
|
|||||||
msgs.append(text)
|
msgs.append(text)
|
||||||
for pic in self.pics:
|
for pic in self.pics:
|
||||||
msgs.append("[CQ:image,file={url}]".format(url=pic))
|
msgs.append("[CQ:image,file={url}]".format(url=pic))
|
||||||
if not self.compress:
|
if self.compress:
|
||||||
msgs = [''.join(msgs)]
|
msgs = [''.join(msgs)]
|
||||||
return msgs
|
return msgs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user