haskbot-core-0.0.1.1: Easily-extensible chatbot for Slack messaging service
Network.Haskbot.Internal.Plugin
data Plugin Source
Constructors
Fields
The command that invokes this plugin
Help text displayed for this plugin via Network.Haskbot.Plugin.Help
The function that receives a Network.Haskbot.SlashCommand and maybe returns a Network.Haskbot.Incoming
The secret token corresponding with this plugin's slash command Slack integration
isAuthorized :: Plugin -> SlashCom -> BoolSource
runPlugin :: Plugin -> SlashCom -> Haskbot ()Source
selectFrom :: [Plugin] -> Command -> Maybe PluginSource