calamity-0.1.14.5: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Commands.Help

Description

A default help command implementation

Synopsis

Documentation

helpCommand' :: BotC r => CommandHandler -> Maybe Group -> [Check] -> Sem r Command Source #

Given a CommandHandler, optionally a parent Group, and a list of Checks, construct a help command that will provide help for all the commands and groups in the passed CommandHandler.

helpCommand :: BotC r => Sem (DSLState r) Command Source #

Create and register the default help command for all the commands registered in the commands DSL this is used in.