From cc466fa4b9e096175f48899435c3865b2d12b351 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Mon, 4 Nov 2019 10:35:14 +0000 Subject: [PATCH] docs: NewsChannel and StoreChannel (#3557) * Added news & store * Update GuildChannel.js * Added in News and Store --- src/structures/Channel.js | 2 ++ src/structures/GuildChannel.js | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/structures/Channel.js b/src/structures/Channel.js index ab6adb81a..9eade6600 100644 --- a/src/structures/Channel.js +++ b/src/structures/Channel.js @@ -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} */ diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 8ffdcfe8f..fa1f84d43 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -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 {