add cmd to kwargs given to plugins
parent
87f4462eaa
commit
1042ed6080
|
@ -56,7 +56,7 @@ class Bot(irc.bot.SingleServerIRCBot):
|
||||||
c.quit("See y'all later!")
|
c.quit("See y'all later!")
|
||||||
quit()
|
quit()
|
||||||
elif cmd in self.cmds:
|
elif cmd in self.cmds:
|
||||||
output = self.cmds[cmd](nick=nick, arg=arg)
|
output = self.cmds[cmd](cmd=cmd, nick=nick, arg=arg)
|
||||||
|
|
||||||
if output:
|
if output:
|
||||||
if output.msg_type == 'message':
|
if output.msg_type == 'message':
|
||||||
|
|
Loading…
Reference in New Issue