irc-fun-types-0.2: Common types for IRC related packages

Safe HaskellNone
LanguageHaskell2010

Network.Irc.Types.Base

Synopsis

Documentation

newtype Hostname Source #

IRC server hostname, e.g. orwell.freenode.net

Constructors

Hostname 

Fields

newtype Username Source #

System user name, i.e. the first part of user@host.tld

Constructors

Username 

Fields

newtype Nickname Source #

IRC nickname

Constructors

Nickname 

Fields

newtype Channel Source #

IRC channel name (including the prefix character), e.g. #freepost

Constructors

Channel 

Fields

newtype CmdName Source #

IRC protocol command name, i.e. PRIVMSG

Constructors

CmdName 

Fields

newtype CmdNumber Source #

IRC protocol numeric command number

Constructors

CmdNumber 

Fields

type Parameter = Text Source #

IRC message parameter, e.g. second word in JOIN #freepost

newtype MsgContent Source #

Chat message content, i.e. a message or a part of a text message meant to be sent or received between people through IRC.

Constructors

MsgContent 

Fields

newtype Password Source #

IRC connection password.

Constructors

Password 

Fields

newtype ChannelKey Source #

IRC channel password.

Constructors

ChannelKey 

Fields

newtype ChannelTopic Source #

IRC channel topic line.

Constructors

ChannelTopic 

Fields

newtype RealName Source #

A user's "real name" as kept by the IRC server.

Constructors

RealName 

Fields

newtype Comment Source #

An optional comment used by several IRC commands, e.g. a part message, which is a line shown when a user leaves a channel.

Constructors

Comment 

Fields

Instances

newtype PortNumber Source #

Network port number.

Constructors

PortNumber 

Fields

data Privilege Source #

IRC privilege status for a user in the context of a specific channel.

Constructors

Regular 
Voice 
Operator