calamity-0.1.17.1: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Commands.Context

Description

Command invokation context

Synopsis

Documentation

data Context Source #

Invokation context for commands

Constructors

Context 

Fields

Instances

Instances details
Show Context Source # 
Instance details

Defined in Calamity.Commands.Context

Generic Context Source # 
Instance details

Defined in Calamity.Commands.Context

Associated Types

type Rep Context :: Type -> Type #

Methods

from :: Context -> Rep Context x #

to :: Rep Context x -> Context #

TextShow Context Source # 
Instance details

Defined in Calamity.Commands.Context

Tellable Context Source # 
Instance details

Defined in Calamity.Commands.Context

Methods

getChannel :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, Member (Error RestError) r) => Context -> Sem r (Snowflake Channel) Source #

type Rep Context Source # 
Instance details

Defined in Calamity.Commands.Context