From b2a3cedd9f1174310efc127a31da396cd43c8dbf Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 28 Apr 2012 17:28:58 -0400 Subject: [PATCH] Fix !help --- earwigbot/commands/help.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/earwigbot/commands/help.py b/earwigbot/commands/help.py index 79ffcab..e0ee6e7 100644 --- a/earwigbot/commands/help.py +++ b/earwigbot/commands/help.py @@ -58,7 +58,8 @@ class Command(BaseCommand): # Create a dummy message to test which commands pick up the user's # input: - dummy = Data(":foo!bar@example.com PRIVMSG #channel :msg!".split()) + msg = ":foo!bar@example.com PRIVMSG #channel :msg".split() + dummy = Data(self.bot, msg) dummy.command = command.lower() dummy.is_command = True