--
-- | Hello world plugin
--
module Lambdabot.Plugin.Misc.Hello (helloPlugin) where

import Lambdabot.Plugin

helloPlugin :: Module ()
helloPlugin :: Module ()
helloPlugin = Module ()
forall st. Module st
newModule
    { moduleCmds = return
        [ (command "hello")
            { aliases = ["goodbye"]
            , help = say "hello/goodbye <arg>. Simplest possible plugin"
            , process = \String
xs -> String -> Cmd (ModuleT () LB) ()
forall (m :: * -> *). Monad m => String -> Cmd m ()
say (String
"Hello world. " String -> String -> String
forall a. [a] -> [a] -> [a]
++ String
xs)
            }
        ]
    }