Calamity.Commands.Context
Description
Command invokation context
data Context Source #
Constructors
Fields
The message remaining after consuming the prefix
Defined in Calamity.Commands.Context
Methods
showsPrec :: Int -> Context -> ShowS #
show :: Context -> String #
showList :: [Context] -> ShowS #
Associated Types
type Rep Context :: Type -> Type #
from :: Context -> Rep Context x #
to :: Rep Context x -> Context #
showbPrec :: Int -> Context -> Builder
showb :: Context -> Builder
showbList :: [Context] -> Builder
showtPrec :: Int -> Context -> Text
showt :: Context -> Text
showtList :: [Context] -> Text
showtlPrec :: Int -> Context -> Text
showtl :: Context -> Text
showtlList :: [Context] -> Text
getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => Context -> Sem r (Snowflake Channel) Source #