From 1042ed608004cb840d641627a7c9ab0ae08e1cfd Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Thu, 28 Sep 2017 09:35:46 -0700 Subject: [PATCH] add cmd to kwargs given to plugins --- pinhook/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinhook/bot.py b/pinhook/bot.py index a2a7cc2..fb3f598 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -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':