exirc v0.11.0 Irc.Commands

Defines IRC command constants, and methods for generating valid commands to send to an IRC server.

Summary

Functions

Builds a valid IRC command

Builds a valid CTCP command

Send an invite command

Send join command to server (join a channel)

Send kick command to server

Send a /me <msg> CTCP command to t

Send mode command to server MODE MODE []

Sends a command to the server to get the list of names back

Send nick to server. (Changes or sets your nick)

Send notice to channel or user

Send part command to server (leave a channel)

Send password to server

Send PONG in response to PING

Send a targeted PONG in response to PING

Send message to channel or user

Send quit command to server (disconnect from server)

Send username to server. (Changes or sets your username)

Functions

command!(cmd)

Builds a valid IRC command.

ctcp!(cmd)

Builds a valid CTCP command.

ctcp!(cmd, args)
invite!(nick, channel)

Send an invite command

join!(channel)

Send join command to server (join a channel)

join!(channel, key)
kick!(channel, nick, message \\ "")

Send kick command to server

me!(channel, msg)

Send a /me <msg> CTCP command to t

mode!(channel_or_nick, flags, args \\ "")

Send mode command to server MODE MODE []

names!(channel)

Sends a command to the server to get the list of names back

nick!(nick)

Send nick to server. (Changes or sets your nick)

notice!(nick, msg)

Send notice to channel or user

part!(channel)

Send part command to server (leave a channel)

pass!(pwd)

Send password to server

pong1!(nick)

Send PONG in response to PING

pong2!(nick, to)

Send a targeted PONG in response to PING

privmsg!(nick, msg)

Send message to channel or user

quit!(msg \\ "Leaving")

Send quit command to server (disconnect from server)

user!(user, name)

Send username to server. (Changes or sets your username)