docs: NewsChannel and StoreChannel (#3557)

* Added news & store

* Update GuildChannel.js

* Added in News and Store
This commit is contained in:
Jiralite
2019-11-04 10:35:14 +00:00
committed by Crawl
parent 99466a99ed
commit cc466fa4b9
2 changed files with 8 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ class Channel extends Base {
* * `text` - a guild text channel
* * `voice` - a guild voice channel
* * `category` - a guild category channel
* * `news` - a guild news channel
* * `store` - a guild store channel
* * `unknown` - a generic channel of unknown type, could be Channel or GuildChannel
* @type {string}
*/

View File

@@ -10,7 +10,12 @@ const Collection = require('../util/Collection');
const { Error, TypeError } = require('../errors');
/**
* Represents a guild channel (i.g. a {@link TextChannel}, {@link VoiceChannel} or {@link CategoryChannel}).
* Represents a guild channel from any of the following:
* - {@link TextChannel}
* - {@link VoiceChannel}
* - {@link CategoryChannel}
* - {@link NewsChannel}
* - {@link StoreChannel}
* @extends {Channel}
*/
class GuildChannel extends Channel {