Skip to content

Commit

Permalink
Add ActionType for Onboarding and Guide (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 committed May 24, 2024
1 parent 15b3d3b commit 9262c0a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion core/src/main/java/discord4j/core/object/audit/ActionType.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ public enum ActionType {
AUTO_MODERATION_FLAG_TO_CHANNEL(144),
AUTO_MODERATION_USER_COMMUNICATION_DISABLED(145),
CREATOR_MONETIZATION_REQUEST_CREATED(150),
CREATOR_MONETIZATION_TERMS_ACCEPTED(151);
CREATOR_MONETIZATION_TERMS_ACCEPTED(151),
ONBOARDING_PROMPT_CREATE(163),
ONBOARDING_PROMPT_UPDATE(164),
ONBOARDING_PROMPT_DELETE(165),
ONBOARDING_CREATE(166),
ONBOARDING_UPDATE(167),
HOME_SETTINGS_CREATE(190),
HOME_SETTINGS_UPDATE(191);


/**
Expand Down Expand Up @@ -135,6 +142,13 @@ public static ActionType of(final int value) {
case 145: return AUTO_MODERATION_USER_COMMUNICATION_DISABLED;
case 150: return CREATOR_MONETIZATION_REQUEST_CREATED;
case 151: return CREATOR_MONETIZATION_TERMS_ACCEPTED;
case 163: return ONBOARDING_PROMPT_CREATE;
case 164: return ONBOARDING_PROMPT_UPDATE;
case 165: return ONBOARDING_PROMPT_DELETE;
case 166: return ONBOARDING_CREATE;
case 167: return ONBOARDING_UPDATE;
case 190: return HOME_SETTINGS_CREATE;
case 191: return HOME_SETTINGS_UPDATE;
default: return UNKNOWN;
}
}
Expand Down

0 comments on commit 9262c0a

Please sign in to comment.