mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
docs: NewsChannel and StoreChannel (#3557)
* Added news & store * Update GuildChannel.js * Added in News and Store
This commit is contained in:
@@ -19,6 +19,8 @@ class Channel extends Base {
|
|||||||
* * `text` - a guild text channel
|
* * `text` - a guild text channel
|
||||||
* * `voice` - a guild voice channel
|
* * `voice` - a guild voice channel
|
||||||
* * `category` - a guild category 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
|
* * `unknown` - a generic channel of unknown type, could be Channel or GuildChannel
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,7 +10,12 @@ const Collection = require('../util/Collection');
|
|||||||
const { Error, TypeError } = require('../errors');
|
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}
|
* @extends {Channel}
|
||||||
*/
|
*/
|
||||||
class GuildChannel extends Channel {
|
class GuildChannel extends Channel {
|
||||||
|
|||||||
Reference in New Issue
Block a user