irc-core-2.2.1: IRC core library for glirc

Copyright(c) Eric Mertens 2016
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Irc.Commands

Contents

Description

This module provides smart constructors for IRC commands.

Synopsis

Documentation

ircAway Source #

Arguments

:: Text

message

-> RawIrcMsg 

AWAY command

ircCapEnd :: RawIrcMsg Source #

CAP END command

ircCapLs :: RawIrcMsg Source #

CAP LS command

ircCapReq Source #

Arguments

:: [Text]

capabilities

-> RawIrcMsg 

CAP REQ command

ircInvite Source #

Arguments

:: Text

nickname

-> Identifier

channel

-> RawIrcMsg 

INVITE command

ircIson Source #

Arguments

:: [Text]

nicknames

-> RawIrcMsg 

ISON command

ircJoin Source #

Arguments

:: Text

channel

-> Maybe Text

key

-> RawIrcMsg 

JOIN command

ircKick Source #

Arguments

:: Identifier

channel

-> Text

nickname

-> Text

message

-> RawIrcMsg 

KICK command

ircLinks Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

LINKS command

ircMode Source #

Arguments

:: Identifier

target

-> [Text]

parameters

-> RawIrcMsg 

MODE command

ircNick Source #

Arguments

:: Text

nickname

-> RawIrcMsg 

NICK command

ircNotice Source #

Arguments

:: Text

target

-> Text

message

-> RawIrcMsg 

NOTICE command

ircPart Source #

Arguments

:: Identifier

channel

-> Text

message

-> RawIrcMsg 

PART command

ircPass Source #

Arguments

:: Text

password

-> RawIrcMsg 

PASS command

ircPing Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

PING command

ircPong Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

PONG command

ircPrivmsg Source #

Arguments

:: Text

target

-> Text

message

-> RawIrcMsg 

PRIVMSG command

ircQuit Source #

Arguments

:: Text

quit message

-> RawIrcMsg 

QUIT command

ircRemove Source #

Arguments

:: Identifier

channel

-> Text

nickname

-> Text

message

-> RawIrcMsg 

REMOVE command

ircStats Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

STATS command

ircTime Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

TIME command

ircTopic Source #

Arguments

:: Identifier

channel

-> Text

topic

-> RawIrcMsg 

TOPIC command

ircUser Source #

Arguments

:: Text

username

-> Bool

set +w

-> Bool

set +i

-> Text

realname

-> RawIrcMsg 

USER command

ircUserhost Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

USERHOST command

ircWho Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

WHO command

ircWhois Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

WHOIS command

ircWhowas Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

WHOWAS command

ZNC support

ircZnc Source #

Arguments

:: [Text]

parameters

-> RawIrcMsg 

ZNC command

specific to ZNC

SASL support

ircAuthenticate :: Text -> RawIrcMsg Source #

AUTHENTICATE command

plainAuthenticationMode :: Text Source #

PLAIN authentiation mode

encodePlainAuthentication Source #

Arguments

:: Text

username

-> Text

password

-> Text 

Encoding of username and password in PLAIN authentication