-
Notifications
You must be signed in to change notification settings - Fork 416
/
StoreChannel.js
28 lines (24 loc) · 878 Bytes
/
StoreChannel.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"use strict";
const GuildChannel = require("./GuildChannel");
/**
* Represents a store channel
* @extends GuildChannel
* @prop {String} id The ID of the channel
* @prop {String} mention A string that mentions the channel
* @prop {Number} type The type of the channel
* @prop {Guild} guild The guild that owns the channel
* @prop {String?} parentID The ID of the category this channel belongs to
* @prop {String} name The name of the channel
* @prop {Number} position The position of the channel
* @prop {Boolean} nsfw Whether the channel is an NSFW channel or not
* @prop {Collection<PermissionOverwrite>} permissionOverwrites Collection of PermissionOverwrites in this channel
*/
class StoreChannel extends GuildChannel {
constructor(data, guild) {
super(data, guild);
}
update(data) {
super.update(data);
}
}
module.exports = StoreChannel;