diff --git a/bot.py b/bot.py index 563f473..0b0c057 100644 --- a/bot.py +++ b/bot.py @@ -143,18 +143,18 @@ class IRCBot(): message_body = "" if message_body: if message_body.startswith("!rollcall"): - self.send(helptext) + self.send(channel, helptext) continue elif message_body.startswith("!chatterbot"): arguments = message_body.strip().lower()[11:] if not arguments: - self.send(helptext) + self.send(channel, helptext) continue arguments = arguments.split() for command, callback in self.commands: if command not in arguments: continue - self.send(callback(channel, arguments[1:])) + self.send(channel, callback(channel, arguments[1:])) else: if channel in ("#tildetown", "#bots"): continue