calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Types.Model.Guild.AuditLog

Description

Audit Log models

Documentation

data AuditLog Source #

data AuditLogEntry Source #

Instances

Instances details
FromJSON AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Show AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

HasID AuditLogEntry AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

HasID User AuditLogEntry Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ AuditLogAction, b ~ AuditLogAction) => LabelOptic "actionType" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ [AuditLogChange], b ~ [AuditLogChange]) => LabelOptic "changes" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Snowflake AuditLogEntry, b ~ Snowflake AuditLogEntry) => LabelOptic "id" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe AuditLogEntryInfo, b ~ Maybe AuditLogEntryInfo) => LabelOptic "options" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "reason" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe (Snowflake ()), b ~ Maybe (Snowflake ())) => LabelOptic "targetID" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Snowflake User, b ~ Snowflake User) => LabelOptic "userID" k AuditLogEntry AuditLogEntry a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogEntryInfo Source #

Instances

Instances details
FromJSON AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Show AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogEntryInfo Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe (Snowflake Channel), b ~ Maybe (Snowflake Channel)) => LabelOptic "channelID" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "count" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "deleteMemberDays" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe (Snowflake ()), b ~ Maybe (Snowflake ())) => LabelOptic "id" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "membersRemoved" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe (Snowflake Message), b ~ Maybe (Snowflake Message)) => LabelOptic "messageID" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "roleName" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Text, b ~ Maybe Text) => LabelOptic "type_" k AuditLogEntryInfo AuditLogEntryInfo a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogChange Source #

Constructors

AuditLogChange 

Instances

Instances details
FromJSON AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Show AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogChange Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "key" k AuditLogChange AuditLogChange a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Value, b ~ Maybe Value) => LabelOptic "newValue" k AuditLogChange AuditLogChange a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

(k ~ A_Lens, a ~ Maybe Value, b ~ Maybe Value) => LabelOptic "oldValue" k AuditLogChange AuditLogChange a b Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

data AuditLogAction Source #

Instances

Instances details
FromJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

ToJSON AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Enum AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

Show AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog

TextShow AuditLogAction Source # 
Instance details

Defined in Calamity.Types.Model.Guild.AuditLog