Skip to content
theepicsnail edited this page Apr 4, 2011 · 1 revision

SuperBot2IRC.cfg [Connection] Server=your.server.com Port=6667 Nick=YourBotsNick

  • event:
    • nickname
      • Contains the senders nick
    • command
      • Contains the type of message. Possible values are listed in the twisted documentation. Anything with irc_ should make it though. For example, PRIVMSG and NOTICE are commands, they show up at irc_PRIVMSG, and irc_NOTICE.
    • prefix
    • target
      • This contains where the message was sent to. For example, a PM is to you, a message you see in a channel is to the channel.
    • *message
      • Any text associated with the event, topic,quit message
      • If there is no message piece the message parameter will not be passed a value (thus it will be None)
  • response:
    • join(channel, key=None)
    • part(channel, message=None)
    • kick(channel, user, message=None)
    • topic(channel, message=None)
    • say( channel, message, length=None)
    • msg( user, message, length=None)
    • notice(user, message)
    • away(message="")
    • back()
    • setNick(nickname)
    • quit(message="")
    • me(channel,message)
    • ping(user,message="")
    • stop()
Clone this wiki locally