mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs: NewsChannel and StoreChannel (#3557)
* Added news & store * Update GuildChannel.js * Added in News and Store
This commit is contained in:
parent
99466a99ed
commit
cc466fa4b9
2 changed files with 8 additions and 1 deletions
|
|
@ -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}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue