Skip to content

isNsfwChannel

function isNsfwChannel(channel?): boolean;

Check if the channel is age-restricted.

GuildTextBasedChannel

The channel to check

boolean

true when the channel is a NSFW channel