glirc-2.33.1: Console IRC client

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

Client.State.Channel

Contents

Description

This module is responsible for tracking the state of an individual IRC channel while the client is connected to it. When the client joins a channel a new channel session is created and when the client leaves a channel is it destroyed.

Synopsis

Channel state

data ChannelState Source #

Dynamic information about the state of an IRC channel

Constructors

ChannelState 

Fields

Instances
Show ChannelState Source # 
Instance details

Defined in Client.State.Channel

Mask list entries

Topic information

Channel manipulation

setTopic :: Text -> ChannelState -> ChannelState Source #

Set the channel topic

joinChannel :: Identifier -> ChannelState -> ChannelState Source #

Add a user to the user list

partChannel :: Identifier -> ChannelState -> ChannelState Source #

Remove a user from the user list

nickChange :: Identifier -> Identifier -> ChannelState -> ChannelState Source #

Rename a user in the user list