calamity-0.1.26.0: A library for writing discord bots in haskell
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 #

FromJSON AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLog Source # 
Instance details

Defined in Calamity.Types.Model.Guild.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.26.0-8Rbyh2JfYBvC9UHgZLNZiA" 'False) (C1 ('MetaCons "AuditLog" 'PrefixI 'True) (S1 ('MetaSel ('Just "webhooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SnowflakeMap Webhook)) :*: (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SnowflakeMap User)) :*: S1 ('MetaSel ('Just "auditLogEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (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 #

FromJSON AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

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 #

FromJSON AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

type Rep AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogChange Source #

Constructors

AuditLogChange 

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 #

FromJSON AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

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.26.0-8Rbyh2JfYBvC9UHgZLNZiA" 'False) (C1 ('MetaCons "AuditLogChange" 'PrefixI 'True) (S1 ('MetaSel ('Just "newValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "oldValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data AuditLogAction Source #

Instances

Instances details
Enum AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

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 #

ToJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

FromJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

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.26.0-8Rbyh2JfYBvC9UHgZLNZiA" '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)))))))