Package discord4j.core.object.audit
Class OptionKey<T>
- java.lang.Object
-
- discord4j.core.object.audit.OptionKey<T>
-
- Type Parameters:
T- The type of the optional data.
public class OptionKey<T> extends Object
A key to be used inAuditLogEntry.getOption(OptionKey).- See Also:
- Optional Audit Entry Info
-
-
Field Summary
Fields Modifier and Type Field Description static OptionKey<Snowflake>CHANNEL_IDChannel in which the entities were targeted.static OptionKey<Integer>COUNTNumber of entities that were targeted.static OptionKey<Integer>DELETE_MEMBER_DAYSNumber of days after which inactive members were kicked.static OptionKey<Snowflake>IDId of the overwritten entity.static OptionKey<Integer>MEMBERS_REMOVEDNumber of members removed by the prune.static OptionKey<Snowflake>MESSAGE_IDId of the message that was targeted.static OptionKey<String>ROLE_NAMEName of the role if type is "role".static OptionKey<String>TYPEType of overwritten entity ("member" or "role").
-
-
-
Field Detail
-
DELETE_MEMBER_DAYS
public static final OptionKey<Integer> DELETE_MEMBER_DAYS
Number of days after which inactive members were kicked.
-
MEMBERS_REMOVED
public static final OptionKey<Integer> MEMBERS_REMOVED
Number of members removed by the prune.
-
CHANNEL_ID
public static final OptionKey<Snowflake> CHANNEL_ID
Channel in which the entities were targeted.
-
-