Class 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 Detail

      • DESCRIPTION

        public static final ChangeKey<String> DESCRIPTION
        Description changed
      • SPLASH

        public static final ChangeKey<String> SPLASH
        Invite splash page artwork changed
      • DISCOVERY_SPLASH

        public static final ChangeKey<String> DISCOVERY_SPLASH
        Discovery splash changed
      • PREFERRED_LOCALE

        public static final ChangeKey<String> PREFERRED_LOCALE
        Preferred locale changed
      • AFK_TIMEOUT

        public static final ChangeKey<Integer> AFK_TIMEOUT
        Afk timeout duration changed
      • 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
      • 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
      • VANITY_URL

        public static final ChangeKey<String> VANITY_URL
        Invite vanity url changed
      • ROLES_REMOVE

        public static final ChangeKey<Set<Role>> 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_ENABLED

        public static final ChangeKey<Boolean> WIDGET_ENABLED
        Server widget enabled/disable
      • 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
      • POSITION

        public static final ChangeKey<Integer> POSITION
        Text or voice channel position changed
      • TOPIC

        public static final ChangeKey<String> TOPIC
        Text channel topic changed
      • BITRATE

        public static final ChangeKey<Integer> BITRATE
        Voice channel bitrate changed
      • NSFW

        public static final ChangeKey<Boolean> NSFW
        Channel nsfw restriction 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
      • COLOR

        public static final ChangeKey<Color> COLOR
        Role color 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_CODE

        public static final ChangeKey<String> INVITE_CODE
        Invite code changed
      • 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
      • USER_DEAFENED

        public static final ChangeKey<Boolean> USER_DEAFENED
        User server deafened/undeafened
      • USER_MUTED

        public static final ChangeKey<Boolean> USER_MUTED
        User server muted/unmuted
      • USER_NICK

        public static final ChangeKey<String> USER_NICK
        User nickname changed
      • USER_AVATAR

        public static final ChangeKey<String> USER_AVATAR
        User avatar changed
      • ID

        public static final ChangeKey<Snowflake> ID
        The id of the changed entity - sometimes used in conjunction with other keys
      • 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
      • USER_LIMIT

        public static final ChangeKey<Integer> USER_LIMIT
        New user limit in a voice channel
    • Method Detail

      • getName

        public String getName()
        Gets the name of audit log change key.
        Returns:
        The name of audit log change key.