2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 06:26:04 +00:00

fixup replied get_text with args

This commit is contained in:
Nick80835
2020-05-04 19:08:13 -04:00
parent e3e2ef4290
commit e146744685

View File

@@ -60,6 +60,9 @@ class Loader():
async def get_text(self, event, with_reply=True, return_msg=False, default=None):
if event.args:
if return_msg:
if event.is_reply:
return event.args, await event.get_reply_message()
return event.args, event
return event.args