@typed-discord/rest
Preparing search index...
types
UserProfileRuleResponse
Function UserProfileRuleResponse
UserProfileRuleResponse
(
id
:
`
${
bigint
}
`
,
guild_id
:
`
${
bigint
}
`
,
creator_id
:
`
${
bigint
}
`
,
name
:
string
,
event_type
:
AutomodEventType
,
actions
:
(
|
BlockMessageActionResponse
|
FlagToChannelActionResponse
|
QuarantineUserActionResponse
|
UserCommunicationDisabledActionResponse
)
[]
,
enabled
:
boolean
,
exempt_roles
:
`
${
bigint
}
`
[]
,
exempt_channels
:
`
${
bigint
}
`
[]
,
trigger_metadata
:
UserProfileMetadataResponse
,
)
:
UserProfileRuleResponse
Parameters
id
:
`
${
bigint
}
`
guild_id
:
`
${
bigint
}
`
creator_id
:
`
${
bigint
}
`
name
:
string
event_type
:
AutomodEventType
actions
: (
|
BlockMessageActionResponse
|
FlagToChannelActionResponse
|
QuarantineUserActionResponse
|
UserCommunicationDisabledActionResponse
)
[]
enabled
:
boolean
exempt_roles
:
`
${
bigint
}
`
[]
exempt_channels
:
`
${
bigint
}
`
[]
trigger_metadata
:
UserProfileMetadataResponse
Returns
UserProfileRuleResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@typed-discord/rest
Loading...