Copyright | (c) Justus Adam 2016 |
---|---|
License | BSD3 |
Maintainer | dev@justus.science |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Marvin.Types
Description
Documentation
Identifier for a user (internal and not necessarily equal to the username)
Identifier for a channel (internal and not necessarily equal to the channel name)
contents and meta information of a recieved message
Instances
A type, basically a String, which identifies a script to the config and the logging facilities.
Constructors
ScriptId | |
Fields |
class IsScript m where Source #
Minimal complete definition
Methods
getScriptId :: m ScriptId Source #
Instances
IsScript (ScriptDefinition a) Source # | |
IsScript (BotReacting a b) Source # | |
getScriptId :: IsScript m => m ScriptId Source #
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
Instances