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

Calamity.Commands.Utils

Description

Command handler utilities

Documentation

addCommands :: (BotC r, Member ParsePrefix r) => Sem (DSLState r) a -> Sem r (Sem r (), CommandHandler, a) Source #

buildCommands :: forall r a. Member (Final IO) r => Sem (DSLState r) a -> Sem r (CommandHandler, a) Source #