@typed-discord/rest
Preparing search index...
types
MentionSpamRuleResponse
Function MentionSpamRuleResponse
MentionSpamRuleResponse
(
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
:
MentionSpamTriggerMetadataResponse
,
)
:
MentionSpamRuleResponse
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
:
MentionSpamTriggerMetadataResponse
Returns
MentionSpamRuleResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@typed-discord/rest
Loading...