started passing some more helpful info when preprocessing a command.
This commit is contained in:
parent
978fc5a359
commit
2d729b68c3
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ class Module(object):
|
||||||
target)
|
target)
|
||||||
|
|
||||||
returns = self.bot.events.on("preprocess").on("command"
|
returns = self.bot.events.on("preprocess").on("command"
|
||||||
).call(hook=hook, user=event["user"], server=event["server"])
|
).call(hook=hook, user=event["user"], server=event["server"],
|
||||||
|
target=target, is_channel=is_channel)
|
||||||
for returned in returns:
|
for returned in returns:
|
||||||
if returned:
|
if returned:
|
||||||
stderr.write(returned).send()
|
stderr.write(returned).send()
|
||||||
|
|
Loading…
Reference in a new issue