Ejemplo n.º 1
0
 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"))
Ejemplo n.º 2
0
 def onRun(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "https://github.com/Progether")
     ircHelpers.send(command)
Ejemplo n.º 3
0
 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"))
Ejemplo n.º 4
0
 def onRun(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://code.reddit.com/wiki/help/faqs/progether")
     ircHelpers.send(command)
Ejemplo n.º 5
0
 def speak(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'],
                                       messageInfo['user'] +
                                       ' told me to say ' + arguments)
     ircHelpers.send(command)
Ejemplo n.º 6
0
 def onRun(self, arguments, messageInfo):
     command = 'JOIN %s \r\n' % arguments
     ircHelpers.send(command)
Ejemplo n.º 7
0
 def onRun(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://http://progether.wikia.com/wiki/Progether_Wiki/")
     ircHelpers.send(command)
Ejemplo n.º 8
0
 def onRun(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "server: irc.freenode.net, channel: #reddit-progether")
     ircHelpers.send(command)
Ejemplo n.º 9
0
 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)
Ejemplo n.º 10
0
 def onRun(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], "http://reddit.com/r/progether/")
     ircHelpers.send(command)
Ejemplo n.º 11
0
 def speak(self, arguments, messageInfo):
     command = 'PRIVMSG %s :%s\r\n' % (messageInfo['channel'], messageInfo['user'] + ' told me to say ' + arguments)
     ircHelpers.send(command)