2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-01 06:55:51 +00:00

add the command object to event

This commit is contained in:
Nick80835
2020-09-15 20:11:47 -04:00
parent 686bf7d8c0
commit 64e2b82054

View File

@@ -55,6 +55,7 @@ class CommandHandler():
event.args = pattern_match.groups()[-1].strip()
event.other_args = pattern_match.groups()[2:-1]
event.extra = command.extra
event.command_object = command
await self.execute_command(event, command)