2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-04 00:15:34 +00:00

add event.args

This commit is contained in:
Nick80835
2020-05-02 16:40:26 -04:00
parent c1963bcc00
commit 5cd6321ca5
11 changed files with 27 additions and 38 deletions

View File

@@ -29,6 +29,7 @@ class CommandHandler():
continue
event.pattern_match = pattern_match
event.args = pattern_match.groups()[-1]
try:
await value["function"](event)