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