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

Calamity.Types.Model.Guild.Ban

Description

Guild ban objects

Documentation

data BanData Source #

Constructors

BanData 

Instances

Instances details
Show BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

Generic BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

Associated Types

type Rep BanData :: Type -> Type #

Methods

from :: BanData -> Rep BanData x #

to :: Rep BanData x -> BanData #

FromJSON BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

Methods

parseJSON :: Value -> Parser BanData

parseJSONList :: Value -> Parser [BanData]

TextShow BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

HasID Guild BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

HasID User BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

type Rep BanData Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Ban

type Rep BanData = D1 ('MetaData "BanData" "Calamity.Types.Model.Guild.Ban" "calamity-0.1.4.4-inplace" 'False) (C1 ('MetaCons "BanData" 'PrefixI 'True) (S1 ('MetaSel ('Just "guildID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)))