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

Calamity.Types.Model.Guild.AuditLog

Description

Audit Log models

Documentation

data AuditLog Source #

Instances

Instances details
Show AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Generic AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Associated Types

type Rep AuditLog :: Type -> Type #

Methods

from :: AuditLog -> Rep AuditLog x #

to :: Rep AuditLog x -> AuditLog #

TextShow AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

parseJSON :: Value -> Parser AuditLog

parseJSONList :: Value -> Parser [AuditLog]

type Rep AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

type Rep AuditLog = D1 ('MetaData "AuditLog" "Calamity.Types.Model.Guild.AuditLog" "calamity-0.1.14.5-inplace" 'False) (C1 ('MetaCons "AuditLog" 'PrefixI 'True) (S1 ('MetaSel ('Just "webhooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnowflakeMap Webhook)) :*: (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnowflakeMap User)) :*: S1 ('MetaSel ('Just "auditLogEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SnowflakeMap AuditLogEntry)))))

data AuditLogEntry Source #

Instances

Instances details
Show AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Generic AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Associated Types

type Rep AuditLogEntry :: Type -> Type #

TextShow AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

parseJSON :: Value -> Parser AuditLogEntry

parseJSONList :: Value -> Parser [AuditLogEntry]

HasID User AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

HasID AuditLogEntry AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

type Rep AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogEntryInfo Source #

Instances

Instances details
Show AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Generic AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Associated Types

type Rep AuditLogEntryInfo :: Type -> Type #

TextShow AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

parseJSON :: Value -> Parser AuditLogEntryInfo

parseJSONList :: Value -> Parser [AuditLogEntryInfo]

type Rep AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogChange Source #

Constructors

AuditLogChange 

Fields

Instances

Instances details
Show AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Generic AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Associated Types

type Rep AuditLogChange :: Type -> Type #

TextShow AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

parseJSON :: Value -> Parser AuditLogChange

parseJSONList :: Value -> Parser [AuditLogChange]

type Rep AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

type Rep AuditLogChange = D1 ('MetaData "AuditLogChange" "Calamity.Types.Model.Guild.AuditLog" "calamity-0.1.14.5-inplace" 'False) (C1 ('MetaCons "AuditLogChange" 'PrefixI 'True) (S1 ('MetaSel ('Just "newValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "oldValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

data AuditLogAction Source #

Instances

Instances details
Show AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Generic AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Associated Types

type Rep AuditLogAction :: Type -> Type #

TextShow AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

parseJSON :: Value -> Parser AuditLogAction

parseJSONList :: Value -> Parser [AuditLogAction]

ToJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Methods

toJSON :: AuditLogAction -> Value

toEncoding :: AuditLogAction -> Encoding

toJSONList :: [AuditLogAction] -> Value

toEncodingList :: [AuditLogAction] -> Encoding

type Rep AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

type Rep AuditLogAction = D1 ('MetaData "AuditLogAction" "Calamity.Types.Model.Guild.AuditLog" "calamity-0.1.14.5-inplace" 'False) (((((C1 ('MetaCons "GUILD_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CHANNEL_CREATE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CHANNEL_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CHANNEL_DELETE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CHANNEL_OVERWRITE_CREATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CHANNEL_OVERWRITE_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CHANNEL_OVERWRITE_DELETE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MEMBER_KICK" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "MEMBER_PRUNE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MEMBER_BAN_ADD" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MEMBER_BAN_REMOVE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MEMBER_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MEMBER_ROLE_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MEMBER_MOVE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MEMBER_DISCONNECT" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BOT_ADD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ROLE_CREATE" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "ROLE_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ROLE_DELETE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "INVITE_CREATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "INVITE_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "INVITE_DELETE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WEBHOOK_CREATE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WEBHOOK_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WEBHOOK_DELETE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EMOJI_CREATE" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "EMOJI_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EMOJI_DELETE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MESSAGE_DELETE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MESSAGE_BULK_DELETE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MESSAGE_PIN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MESSAGE_UNPIN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "INTEGRATION_CREATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "INTEGRATION_UPDATE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "INTEGRATION_DELETE" 'PrefixI 'False) (U1 :: Type -> Type)))))))