From 08a98febca275aec49b67c30791148024463ca80 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Thu, 15 Mar 2018 15:15:10 -0700 Subject: [PATCH] fix issue where help command crashes bot --- pinhook/bot.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pinhook/bot.py b/pinhook/bot.py index e07fa34..771b753 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -154,7 +154,7 @@ class Bot(irc.bot.SingleServerIRCBot): c.quit("See y'all later!") quit() elif cmd == '!help': - helplist = sorted([i for i in self.cmds]) + helplist = sorted([i for i in pinhook.plugin.cmds]) msg = ', '.join(helplist) c.privmsg(chan, 'Available commands: {}'.format(msg)) elif cmd == '!reload' and nick in self.ops: diff --git a/setup.py b/setup.py index 48b4926..028a977 100755 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ class UploadCommand(Command): # Where the magic happens: setup( name=NAME, - version='1.4.1', + version='1.4.2', description=DESCRIPTION, long_description=long_description, author=AUTHOR,