Safe Haskell | None |
---|---|
Language | Haskell2010 |
A default help command implementation
Synopsis
- helpCommand' :: BotC r => CommandHandler -> Maybe Group -> [Check] -> Sem r Command
- helpCommand :: BotC r => Sem (DSLState r) Command
Documentation
helpCommand' :: BotC r => CommandHandler -> Maybe Group -> [Check] -> Sem r Command Source #
Given a CommandHandler
, optionally a parent Group
, and a list of Check
s,
construct a help command that will provide help for all the commands and
groups in the passed CommandHandler
.