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:
@@ -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
|
||||
|
Reference in New Issue
Block a user