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