SetDiscordActionDto
action_typeenumRequired
Possible enum values
persist_rolesend_messageban_userkick_usergenerate_invite_link
discord_server_idFlakeIdRequired
execution_stageenumRequired
Possible enum values
on_purchaseon_expireon_refundon_chargeback
channel_idFlakeIdOptional
messagestringOptional
revocation_stagesenum[]Optional
Possible enum values
on_expireon_refundon_chargeback
role_idFlakeIdOptional
Example
{
"action_type": "persist_role",
"discord_server_id": "411486491630370816",
"execution_stage": "on_purchase",
"revocation_stages": [
"on_expire"
],
"channel_id": "411486491630370816",
"role_id": "411486491630370816",
"message": "string"
}