blob: 76727fcdd7b785f4146e8d76f0f0788e5226bca6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
'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;
|