Skip to content

Commit

Permalink
fix whisper command respond
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Jun 5, 2024
1 parent 95e99f7 commit c3ea9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvicorn/bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit c3ea9f3

Please sign in to comment.