def relay(self, arguments, messageInfo): if (len(arguments) <= 0): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], messageInfo['user'] + ' told me to say nothing.') else: command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], messageInfo['user'] + ' told me to say ' + arguments) ircHelpers.send(command.encode("UTF-8"))
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "https://github.com/Progether") ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://code.reddit.com/wiki/help/faqs/progether") ircHelpers.send(command)
def speak(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], messageInfo['user'] + ' told me to say ' + arguments) ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'JOIN %s \r\n' % arguments ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://http://progether.wikia.com/wiki/Progether_Wiki/") ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "server: irc.freenode.net, channel: #reddit-progether") ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands") ircHelpers.send(command)
def onRun(self, arguments, messageInfo): command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://reddit.com/r/progether/") ircHelpers.send(command)