diff --git a/hvicorn/bot/bot.py b/hvicorn/bot/bot.py index e83f615..3a41bd3 100644 --- a/hvicorn/bot/bot.py +++ b/hvicorn/bot/bot.py @@ -41,7 +41,7 @@ def respond(self, text, at_sender=True): ("@" + self.sender.nick + " " if at_sender else "") + str(text) ) elif self.triggered_via == "whisper": - self.bot.whisper(self.triggered_by.nick, text) + self.bot.whisper(self.sender.nick, text) else: warn("Unknown trigger method, ignoring")