add cmd to kwargs given to plugins

pull/1/head
Mallory Hancock 2017-09-28 09:35:46 -07:00
parent 87f4462eaa
commit 1042ed6080
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Bot(irc.bot.SingleServerIRCBot):
c.quit("See y'all later!")
quit()
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.msg_type == 'message':