Package discord4j.core.object.audit
Class ChangeKey<T>
- java.lang.Object
-
- discord4j.core.object.audit.ChangeKey<T>
-
- Type Parameters:
T- The type of the audit log change key.
public final class ChangeKey<T> extends Object
Represents the various audit log change key. See Audit Log Change Key
-
-
Field Summary
Fields Modifier and Type Field Description static ChangeKey<Snowflake>AFK_CHANNELAfk channel changedstatic ChangeKey<Integer>AFK_TIMEOUTAfk timeout duration changedstatic ChangeKey<PermissionSet>ALLOWA permission on a text or voice channel was allowed for a rolestatic ChangeKey<Snowflake>APPLICATION_IDApplication id of the added or removed webhook or botstatic ChangeKey<String>BANNERBanner changedstatic ChangeKey<Integer>BITRATEVoice channel bitrate changedstatic ChangeKey<Channel.Type>CHANNEL_TYPEType of entity createdstatic ChangeKey<Color>COLORRole color changedstatic ChangeKey<Instant>COMMUNICATION_DISABLED_UNTILNew user date for expire a timeoutstatic ChangeKey<Guild.ContentFilterLevel>CONTENT_FILTER_LEVELChange in whose messages are scanned and deleted for explicit content in the serverstatic ChangeKey<PermissionSet>DENYA permission on a text or voice channel was denied for a rolestatic ChangeKey<String>DESCRIPTIONDescription changedstatic ChangeKey<String>DISCOVERY_SPLASHDiscovery splash changedstatic ChangeKey<Boolean>ENABLE_EMOTICONSIntegration emoticons enabled/disabledstatic ChangeKey<Integer>EXPIRE_BEHAVIORIntegration expiring subscriber behavior changedstatic ChangeKey<Integer>EXPIRE_GRACE_PERIODIntegration expire grace period changedstatic ChangeKey<Boolean>HOISTRole is now displayed/no longer displayed separate from online usersstatic ChangeKey<String>ICONIcon changedstatic ChangeKey<Snowflake>IDThe id of the changed entity - sometimes used in conjunction with other keysstatic ChangeKey<Snowflake>INVITE_CHANNEL_IDChannel for invite code changedstatic ChangeKey<String>INVITE_CODEInvite code changedstatic ChangeKey<Integer>INVITE_MAX_AGEHow long invite code lasts changedstatic ChangeKey<Integer>INVITE_MAX_USESChange to max number of times invite code can be usedstatic ChangeKey<Boolean>INVITE_TEMPORARYInvite code is temporary/never expiresstatic ChangeKey<Integer>INVITE_USESNumber of times invite code used changedstatic ChangeKey<Snowflake>INVITER_IDPerson who created invite code changedstatic ChangeKey<Boolean>MENTIONABLERole is now mentionable/unmentionablestatic ChangeKey<Guild.MfaLevel>MFA_LEVELTwo-factor auth requirement changedstatic ChangeKey<String>NAMEName changedstatic ChangeKey<Guild.NotificationLevel>NOTIFICATION_LEVELDefault message notification level changedstatic ChangeKey<Boolean>NSFWChannel nsfw restriction changedstatic ChangeKey<Set<ExtendedPermissionOverwrite>>OVERWRITESPermissions on a channel changedstatic ChangeKey<Snowflake>OWNEROwner changedstatic ChangeKey<PermissionSet>PERMISSIONSPermissions for a role changedstatic ChangeKey<Integer>POSITIONText or voice channel position changedstatic ChangeKey<String>PREFERRED_LOCALEPreferred locale changedstatic ChangeKey<Integer>PRUNE_DAYSChange in number of days after which inactive and role-unassigned members are kickedstatic ChangeKey<Snowflake>PUBLIC_UPDATES_CHANNELOd of the public updates channel changedstatic ChangeKey<Integer>RATE_LIMIT_PER_USERAmount of seconds a user has to wait before sending another message changedstatic ChangeKey<String>REGIONRegion changedstatic ChangeKey<String>ROLE_ICONThe role unicode emoji changedstatic ChangeKey<Set<AuditLogRole>>ROLES_ADDNew role addedstatic ChangeKey<Set<AuditLogRole>>ROLES_REMOVERole removedstatic ChangeKey<Snowflake>RULES_CHANNELId of the rules channel changedstatic ChangeKey<String>SPLASHInvite splash page artwork changedstatic ChangeKey<Boolean>STICKER_AVAILABLEAvailability of sticker changedstatic ChangeKey<Sticker.Format>STICKER_FORMAT_TYPEThe format type of sticker changedstatic ChangeKey<Snowflake>STICKER_GUILD_IDGuild sticker is in changedstatic ChangeKey<String>STICKER_TAGSThe related emoji of sticker changedstatic ChangeKey<Snowflake>SYSTEM_CHANNELId of the system channel changedstatic ChangeKey<Boolean>THREAD_ARCHIVEDThread is now archived/unarchivedstatic ChangeKey<Integer>THREAD_AUTO_ARCHIVE_DURATIONAuto archive duration changedstatic ChangeKey<Boolean>THREAD_LOCKEDThread is now locked/unlockedstatic ChangeKey<String>TOPICText channel topic changedstatic ChangeKey<String>USER_AVATARUser avatar changedstatic ChangeKey<Boolean>USER_DEAFENEDUser server deafened/undeafenedstatic ChangeKey<Integer>USER_LIMITNew user limit in a voice channelstatic ChangeKey<Boolean>USER_MUTEDUser server muted/unmutedstatic ChangeKey<String>USER_NICKUser nickname changedstatic ChangeKey<String>VANITY_URLInvite vanity url changedstatic ChangeKey<Guild.VerificationLevel>VERIFICATION_LEVELRequired verification level changedstatic ChangeKey<Snowflake>WIDGET_CHANNELChannel id of the server widget changedstatic ChangeKey<Boolean>WIDGET_ENABLEDServer widget enabled/disable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name of audit log change key.TparseValue(AuditLogEntry entry, JsonNode value)StringtoString()
-
-
-
Field Detail
-
RULES_CHANNEL
public static final ChangeKey<Snowflake> RULES_CHANNEL
Id of the rules channel changed
-
PUBLIC_UPDATES_CHANNEL
public static final ChangeKey<Snowflake> PUBLIC_UPDATES_CHANNEL
Od of the public updates channel changed
-
MFA_LEVEL
public static final ChangeKey<Guild.MfaLevel> MFA_LEVEL
Two-factor auth requirement changed
-
VERIFICATION_LEVEL
public static final ChangeKey<Guild.VerificationLevel> VERIFICATION_LEVEL
Required verification level changed
-
CONTENT_FILTER_LEVEL
public static final ChangeKey<Guild.ContentFilterLevel> CONTENT_FILTER_LEVEL
Change in whose messages are scanned and deleted for explicit content in the server
-
NOTIFICATION_LEVEL
public static final ChangeKey<Guild.NotificationLevel> NOTIFICATION_LEVEL
Default message notification level changed
-
ROLES_ADD
public static final ChangeKey<Set<AuditLogRole>> ROLES_ADD
New role added
-
ROLES_REMOVE
public static final ChangeKey<Set<AuditLogRole>> ROLES_REMOVE
Role removed
-
PRUNE_DAYS
public static final ChangeKey<Integer> PRUNE_DAYS
Change in number of days after which inactive and role-unassigned members are kicked
-
WIDGET_CHANNEL
public static final ChangeKey<Snowflake> WIDGET_CHANNEL
Channel id of the server widget changed
-
SYSTEM_CHANNEL
public static final ChangeKey<Snowflake> SYSTEM_CHANNEL
Id of the system channel changed
-
OVERWRITES
public static final ChangeKey<Set<ExtendedPermissionOverwrite>> OVERWRITES
Permissions on a channel changed
-
APPLICATION_ID
public static final ChangeKey<Snowflake> APPLICATION_ID
Application id of the added or removed webhook or bot
-
RATE_LIMIT_PER_USER
public static final ChangeKey<Integer> RATE_LIMIT_PER_USER
Amount of seconds a user has to wait before sending another message changed
-
PERMISSIONS
public static final ChangeKey<PermissionSet> PERMISSIONS
Permissions for a role changed
-
HOIST
public static final ChangeKey<Boolean> HOIST
Role is now displayed/no longer displayed separate from online users
-
MENTIONABLE
public static final ChangeKey<Boolean> MENTIONABLE
Role is now mentionable/unmentionable
-
ALLOW
public static final ChangeKey<PermissionSet> ALLOW
A permission on a text or voice channel was allowed for a role
-
DENY
public static final ChangeKey<PermissionSet> DENY
A permission on a text or voice channel was denied for a role
-
INVITE_CHANNEL_ID
public static final ChangeKey<Snowflake> INVITE_CHANNEL_ID
Channel for invite code changed
-
INVITER_ID
public static final ChangeKey<Snowflake> INVITER_ID
Person who created invite code changed
-
INVITE_MAX_USES
public static final ChangeKey<Integer> INVITE_MAX_USES
Change to max number of times invite code can be used
-
INVITE_USES
public static final ChangeKey<Integer> INVITE_USES
Number of times invite code used changed
-
INVITE_MAX_AGE
public static final ChangeKey<Integer> INVITE_MAX_AGE
How long invite code lasts changed
-
INVITE_TEMPORARY
public static final ChangeKey<Boolean> INVITE_TEMPORARY
Invite code is temporary/never expires
-
ID
public static final ChangeKey<Snowflake> ID
The id of the changed entity - sometimes used in conjunction with other keys
-
CHANNEL_TYPE
public static final ChangeKey<Channel.Type> CHANNEL_TYPE
Type of entity created
-
ENABLE_EMOTICONS
public static final ChangeKey<Boolean> ENABLE_EMOTICONS
Integration emoticons enabled/disabled
-
EXPIRE_BEHAVIOR
public static final ChangeKey<Integer> EXPIRE_BEHAVIOR
Integration expiring subscriber behavior changed
-
EXPIRE_GRACE_PERIOD
public static final ChangeKey<Integer> EXPIRE_GRACE_PERIOD
Integration expire grace period changed
-
COMMUNICATION_DISABLED_UNTIL
public static final ChangeKey<Instant> COMMUNICATION_DISABLED_UNTIL
New user date for expire a timeout
-
STICKER_TAGS
public static final ChangeKey<String> STICKER_TAGS
The related emoji of sticker changed
-
STICKER_FORMAT_TYPE
public static final ChangeKey<Sticker.Format> STICKER_FORMAT_TYPE
The format type of sticker changed
-
STICKER_GUILD_ID
public static final ChangeKey<Snowflake> STICKER_GUILD_ID
Guild sticker is in changed
-
STICKER_AVAILABLE
public static final ChangeKey<Boolean> STICKER_AVAILABLE
Availability of sticker changed
-
THREAD_ARCHIVED
public static final ChangeKey<Boolean> THREAD_ARCHIVED
Thread is now archived/unarchived
-
THREAD_AUTO_ARCHIVE_DURATION
public static final ChangeKey<Integer> THREAD_AUTO_ARCHIVE_DURATION
Auto archive duration changed
-
-