lambdabot-core-5.3: Lambdabot core functionality

Safe HaskellNone
LanguageHaskell98

Lambdabot.Bot

Contents

Description

The guts of lambdabot.

The LB/Lambdabot monad Generic server connection,disconnection The module typeclass, type and operations on modules

Synopsis

Documentation

ircLoadModule :: String -> Module st -> LB () Source #

Register a module in the irc state

ircUnloadModule :: String -> LB () Source #

Unregister a module's entry in the irc state

checkPrivs :: IrcMessage -> LB Bool Source #

Checks whether the given user has admin permissions

checkIgnore :: IrcMessage -> LB Bool Source #

Checks whether the given user is being ignored. Privileged users can't be ignored.

ircPrivmsg Source #

Arguments

:: Nick

The channel/user.

-> String

The message.

-> LB () 

Send a message to a channel/user, applying all output filters

Orphan instances