From 84f53b56ae25b59462795cfa0151082217857ca8 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 4 Apr 2025 03:34:38 +0000 Subject: [PATCH] fix missing arguments to send() --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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