Archived
1
0
Fork 0

Update chain.py

This commit is contained in:
yzhh 2022-01-01 01:53:08 +08:00 committed by GitHub
parent e6d7cca52f
commit 71bc955970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class MessageChain:
value = []
for x in self.value:
if isinstance(x, Embed) and not embed:
value.append(x.to_msgchain())
value += x.to_msgchain()
else:
value.append(x)
return value