blob: bcbfbf3a8121ce780a072667eac0fb8224896573 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
const TextChannel = require('./TextChannel');
/**
* Represents a guild news channel on Discord.
* @extends {TextChannel}
*/
class NewsChannel extends TextChannel {
constructor(guild, data) {
super(guild, data);
this.type = 'news';
}
setup(data) {
super.setup(data);
/**
* The ratelimit per user for this channel (always 0)
* @type {number}
*/
this.rateLimitPerUser = 0;
}
}
module.exports = NewsChannel;
|