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

Calamity.Client.Client

Description

The client

Synopsis

Documentation

data Client Source #

Constructors

Client 

Fields

Instances

Instances details
Generic Client Source # 
Instance details

Defined in Calamity.Client.Types

Associated Types

type Rep Client :: Type -> Type #

Methods

from :: Client -> Rep Client x #

to :: Rep Client x -> Client #

type Rep Client Source # 
Instance details

Defined in Calamity.Client.Types

react :: forall s r. (BotC r, InsertEventHandler s (Sem r)) => EHType s (Sem r) -> Sem r () Source #

runBotIO :: (Members '[Embed IO, Final IO, Fail, CacheEff, MetricEff] r, Typeable r) => Token -> SetupEff r -> Sem r () Source #

stopBot :: BotC r => Sem r () Source #

events :: BotC r => Sem r (OutChan CalamityEvent) Source #

fire :: BotC r => CalamityEvent -> Sem r () Source #

customEvt :: forall s a. (Typeable s, Typeable a) => a -> CalamityEvent Source #

Build a Custom CalamityEvent