Copyright | (c) Justus Adam 2016 |
---|---|
License | BSD3 |
Maintainer | dev@justus.science |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
A type, basically a String, which identifies a script to the config and the logging facilities.
class IsScript m where Source #
getScriptId :: m ScriptId Source #
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
.
getConfigInternal