marvin-0.0.5: A modular chat bot

Copyright(c) Justus Adam 2016
LicenseBSD3
Maintainerdev@justus.science
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Marvin.Types

Description

 

Synopsis

Documentation

newtype User Source #

Identifier for a user (internal and not necessarily equal to the username)

Constructors

User Text 

newtype Channel Source #

Identifier for a channel (internal and not necessarily equal to the channel name)

Constructors

Channel Text 

data Message Source #

contents and meta information of a recieved message

Constructors

Message 

newtype ScriptId Source #

A type, basically a String, which identifies a script to the config and the logging facilities.

Constructors

ScriptId 

Fields

class (IsScript m, MonadIO m) => HasConfigAccess m Source #

Denotes a place from which we may access the configuration.

During script definition or when handling a request we can obtain the config with getConfigVal or requireConfigVal.

Minimal complete definition

getConfigInternal