-
Notifications
You must be signed in to change notification settings - Fork 1
Connector
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
- This contains the value for the prefix attribute from [rfc2812|http://www.mirc.com/rfc2812.html]
- prefix = servername / ( nickname [ [ "!" user ] "@" host ] )
- 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)
- nickname
- 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()