mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
fix(GuildChannelManager): allow creating webhooks on forums (#8661)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -170,7 +170,8 @@ class GuildChannelManager extends CachedManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {ChannelWebhookCreateOptions} WebhookCreateOptions
|
* @typedef {ChannelWebhookCreateOptions} WebhookCreateOptions
|
||||||
* @property {TextChannel|NewsChannel|VoiceChannel|Snowflake} channel The channel to create the webhook for
|
* @property {TextChannel|NewsChannel|VoiceChannel|ForumChannel|Snowflake} channel
|
||||||
|
* The channel to create the webhook for
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -4277,7 +4277,7 @@ export interface ChannelWebhookCreateOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface WebhookCreateOptions extends ChannelWebhookCreateOptions {
|
export interface WebhookCreateOptions extends ChannelWebhookCreateOptions {
|
||||||
channel: TextChannel | NewsChannel | VoiceChannel | Snowflake;
|
channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | Snowflake;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ClientEvents {
|
export interface ClientEvents {
|
||||||
|
|||||||
Reference in New Issue
Block a user