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

Calamity.HTTP.Emoji

Description

Emoji endpoints

Documentation

data EmojiRequest a where Source #

Instances

Instances details
Request (EmojiRequest a) a Source # 
Instance details

Defined in Calamity.HTTP.Emoji

Methods

toRoute :: EmojiRequest a -> Route Source #

url :: EmojiRequest a -> String Source #

toAction :: EmojiRequest a -> Options -> String -> IO (Response ByteString) Source #

invokeRequest :: forall (reffs :: [(Type -> Type) -> Type -> Type]). (BotC reffs, FromJSON a) => EmojiRequest a -> Sem reffs (Either RestError a) Source #

data CreateGuildEmojiOptions Source #

Constructors

CreateGuildEmojiOptions 

Fields