mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
feat(GuildChannel): add setNSFW method
Backported from commit: 0fc9459450
PR: #2050
This commit is contained in:
@@ -212,6 +212,7 @@ class GuildChannel extends Channel {
|
||||
* @property {string} [name] The name of the channel
|
||||
* @property {number} [position] The position of the channel
|
||||
* @property {string} [topic] The topic of the text channel
|
||||
* @property {boolean} [nsfw] Whether the channel is NSFW
|
||||
* @property {number} [bitrate] The bitrate of the voice channel
|
||||
* @property {number} [userLimit] The user limit of the channel
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user