Functionseedcordv0.14.0
Nsfw
Requires an age-restricted channel, else refuses. Pass GateNoticeOptionsGateNoticeOptions to reword or replace the refusal.
A thread inherits its parent channel's nsfw flag. ModalSubmit has no reliable channel, so it is excluded.
See also:Gated
Nsfw(
options?: GateNoticeOptions
): Gate<InteractionGateContext<NonModalInteraction>, "Nsfw">Nsfw(
options?: GateNoticeOptions
): Gate<InteractionGateContext<NonModalInteraction>, "Nsfw">options?
options?: GateNoticeOptionsoptions?: GateNoticeOptionsReword the default refusal with messagemessage, or replace it with noticenotice.