Liking cljdoc? Tell your friends :D

irclj.core

An IRC library for Clojure.

An IRC library for Clojure.
raw docstring

connectclj

(connect host
         port
         nick
         &
         {:keys [pass timeout real-name mode username callbacks ssl?]
          :or {real-name "irclj"
               mode 0
               ssl? false
               callbacks {:raw-log events/stdout-callback}}
          :as all})

Connect to IRC. Connects in another thread and returns a big fat ref of data about the connection, you, and IRC in general.

Connect to IRC. Connects in another thread and returns a big fat ref of
data about the connection, you, and IRC in general.
raw docstring

ctcpclj

(ctcp irc target kind & s)

Send a CTCP message to a user or channel. action is a keyword indicating the kind of CTCP you're sending. For example,

(ctcp irc "#foo" :action "drinks his smoothy")

The above is the same as if you were in an IRC client sending /me drinks his smoothy

Send a CTCP message to a user or channel. action is a keyword indicating
the kind of CTCP you're sending. For example,

(ctcp irc "#foo" :action "drinks his smoothy")

The above is the same as if you were in an IRC client sending
/me drinks his smoothy
raw docstring

identifyclj

(identify irc password)

Identify with NICKSERV. Will block until the connection is registered.

Identify with NICKSERV. Will block until the connection is registered.
raw docstring

joinclj

(join irc & channels)

Joins channels. A channel is either a string or a vector of string and key. Blocks until :ready? is delivered.

Joins channels. A channel is either a string or a vector of string and key.
Blocks until :ready? is delivered.
raw docstring

kickclj

(kick irc channel user & [message])

Kick a user from a channel.

Kick a user from a channel.
raw docstring

killclj

(kill irc)

Close the socket associated with an IRC connection.

Close the socket associated with an IRC connection.
raw docstring

messageclj

(message irc target & s)

Sends a PRIVMSG to a user or channel.

Sends a PRIVMSG to a user or channel.
raw docstring

modeclj

(mode irc channel & [modes])

Request or set the mode for a channel.

Request or set the mode for a channel.
raw docstring

noticeclj

(notice irc target & s)

Sends a NOTICE to a user or channel.

Sends a NOTICE to a user or channel.
raw docstring

partclj

(part irc & channels-and-opts)

Part from channels. A channel is either a string or a vector of string and key. If a :message key is passed, then that message is used as the parting message. If this key is passed, it must be the last thing passed to this function.

Part from channels. A channel is either a string or a vector of string and key.
If a :message key is passed, then that message is used as the parting message.
If this key is passed, it **must** be the last thing passed to this function.
raw docstring

quitclj

(quit irc)

replyclj

(reply irc m & s)

Reply to a PRIVMSG. Determines user or channel based on original message.

Reply to a PRIVMSG. Determines user or channel based on original message.
raw docstring

set-nickclj

(set-nick irc nick)

Change your nickname on IRC.

Change your nickname on IRC.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close