UNPKG

discord.js-self

Version:

A fork of discord.js with support of user accounts

23 lines (18 loc) 400 B
'use strict'; const GuildChannel = require('./GuildChannel'); /** * Represents a guild store channel on Discord. * @extends {GuildChannel} */ class StoreChannel extends GuildChannel { _patch(data) { super._patch(data); /** * If the guild considers this channel NSFW * @type {boolean} * @readonly */ this.nsfw = data.nsfw; } } module.exports = StoreChannel;