Fix error in unhandled hook
How did this not get caught in testing earlier?
This commit is contained in:
parent
1cc6d411f8
commit
32d3414bc8
@ -95,7 +95,7 @@ def __unhandled__(cli, prefix, cmd, *args):
|
|||||||
if botconfig.DEBUG_MODE:
|
if botconfig.DEBUG_MODE:
|
||||||
raise e
|
raise e
|
||||||
else:
|
else:
|
||||||
notify_error(cli, chan, log)
|
notify_error(cli, botconfig.CHANNEL, log)
|
||||||
|
|
||||||
|
|
||||||
COMMANDS = {}
|
COMMANDS = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user