Update message.py
This commit is contained in:
parent
9c9fc3d8c2
commit
b89aae8431
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ class MessageSession(MS):
|
|||
return False
|
||||
|
||||
def asDisplay(self, text_only=False):
|
||||
if self.session.message.text:
|
||||
return self.session.message.text
|
||||
return ''
|
||||
|
||||
async def toMessageChain(self):
|
||||
lst = []
|
||||
|
|
Reference in a new issue