feat: Add media channels

#9662 backport
This commit is contained in:
Elysia
2024-09-17 17:50:34 +07:00
parent 293a8b8fd8
commit 35ca0c89bf
13 changed files with 301 additions and 257 deletions

View File

@@ -239,7 +239,7 @@ class Webhook {
* @typedef {Object} WebhookEditData
* @property {string} [name=this.name] The new name for the webhook
* @property {?(BufferResolvable)} [avatar] The new avatar for the webhook
* @property {GuildTextChannelResolvable|VoiceChannel|StageChannel|ForumChannel} [channel]
* @property {GuildTextChannelResolvable|VoiceChannel|StageChannel|ForumChannel|MediaChannel} [channel]
* The new channel for the webhook
*/
@@ -385,7 +385,7 @@ class Webhook {
/**
* The channel the webhook belongs to
* @type {?(TextChannel|VoiceChannel|NewsChannel|ForumChannel)}
* @type {?(TextChannel|VoiceChannel|NewsChannel|ForumChannel|MediaChannel)}
* @readonly
*/
get channel() {