@@ -99,23 +99,23 @@ class GuildChannelManager extends CachedManager {
9999 }
100100
101101 /**
102- * Data that can be resolved to a News Channel object. This can be:
103- * * A NewsChannel object
102+ * Data that can be resolved to an Announcement Channel object. This can be:
103+ * * An Announcement Channel object
104104 * * A Snowflake
105- * @typedef {NewsChannel |Snowflake } NewsChannelResolvable
105+ * @typedef {AnnouncementChannel |Snowflake } AnnouncementChannelResolvable
106106 */
107107
108108 /**
109109 * Adds the target channel to a channel's followers.
110- * @param {NewsChannelResolvable } channel The channel to follow
110+ * @param {AnnouncementChannelResolvable } channel The channel to follow
111111 * @param {TextChannelResolvable } targetChannel The channel where published announcements will be posted at
112112 * @param {string } [reason] Reason for creating the webhook
113113 * @returns {Promise<Snowflake> } Returns created target webhook id.
114114 */
115115 async addFollower ( channel , targetChannel , reason ) {
116116 const channelId = this . resolveId ( channel ) ;
117117 if ( ! channelId ) {
118- throw new DiscordjsTypeError ( ErrorCodes . InvalidType , 'channel' , 'NewsChannelResolvable ' ) ;
118+ throw new DiscordjsTypeError ( ErrorCodes . InvalidType , 'channel' , 'AnnouncementChannelResolvable ' ) ;
119119 }
120120 const targetChannelId = this . resolveId ( targetChannel ) ;
121121 if ( ! targetChannelId ) {
@@ -208,7 +208,7 @@ class GuildChannelManager extends CachedManager {
208208
209209 /**
210210 * @typedef {ChannelWebhookCreateOptions } WebhookCreateOptions
211- * @property {TextChannel|NewsChannel |VoiceChannel|StageChannel|ForumChannel|MediaChannel|Snowflake } channel
211+ * @property {TextChannel|AnnouncementChannel |VoiceChannel|StageChannel|ForumChannel|MediaChannel|Snowflake } channel
212212 * The channel to create the webhook for
213213 */
214214
@@ -247,7 +247,7 @@ class GuildChannelManager extends CachedManager {
247247 * Options used to edit a guild channel.
248248 * @typedef {Object } GuildChannelEditOptions
249249 * @property {string } [name] The name of the channel
250- * @property {ChannelType } [type] The type of the channel (only conversion between text and news is supported)
250+ * @property {ChannelType } [type] The type of the channel (only conversion between text and announcement is supported)
251251 * @property {number } [position] The position of the channel
252252 * @property {?string } [topic] The topic of the text channel
253253 * @property {boolean } [nsfw] Whether the channel is NSFW
0 commit comments