From cd30b053f630755e98eff420f4bf986943a142a3 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Tue, 1 Oct 2013 16:57:20 +1300 Subject: [PATCH] moar --- core/irc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/irc.py b/core/irc.py index 39c93ed..4f79045 100755 --- a/core/irc.py +++ b/core/irc.py @@ -205,11 +205,11 @@ class IRC(object): self.channels.remove(channel) def msg(self, target, text): - """ makes the bot send a message to a user """ + """ makes the bot send a PRIVMSG to a target """ self.cmd("PRIVMSG", [target, text]) def ctcp(self, target, ctcp_type, text): - """ makes the bot send a message to a user """ + """ makes the bot send a PRIVMSG CTCP to a target """ text = u"\x01{} {}\x01".format(ctcp_type, target) self.cmd("PRIVMSG", [target, text])