UNPKG

discord.js-self

Version:

A fork of discord.js with support of user accounts

19 lines (14 loc) 366 B
'use strict'; const TextChannel = require('./TextChannel'); /** * Represents a guild news channel on Discord. * @extends {TextChannel} */ class NewsChannel extends TextChannel { _patch(data) { super._patch(data); // News channels don't have a rate limit per user, remove it this.rateLimitPerUser = undefined; } } module.exports = NewsChannel;