mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
types(GuildInvitableChannelResolvable): Allow forum channels (#9775)
types(GuildInvitableChannelResolvable): allow forum channels Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -45,8 +45,9 @@ class GuildInviteManager extends CachedManager {
|
|||||||
* * VoiceChannel
|
* * VoiceChannel
|
||||||
* * NewsChannel
|
* * NewsChannel
|
||||||
* * StageChannel
|
* * StageChannel
|
||||||
|
* * ForumChannel
|
||||||
* * Snowflake
|
* * Snowflake
|
||||||
* @typedef {TextChannel|VoiceChannel|NewsChannel|StageChannel|Snowflake}
|
* @typedef {TextChannel|VoiceChannel|NewsChannel|StageChannel|ForumChannel|Snowflake}
|
||||||
* GuildInvitableChannelResolvable
|
* GuildInvitableChannelResolvable
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
8
packages/discord.js/typings/index.d.ts
vendored
8
packages/discord.js/typings/index.d.ts
vendored
@@ -5797,7 +5797,13 @@ export interface InviteGenerationOptions {
|
|||||||
scopes: OAuth2Scopes[];
|
scopes: OAuth2Scopes[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export type GuildInvitableChannelResolvable = TextChannel | VoiceChannel | NewsChannel | StageChannel | Snowflake;
|
export type GuildInvitableChannelResolvable =
|
||||||
|
| TextChannel
|
||||||
|
| VoiceChannel
|
||||||
|
| NewsChannel
|
||||||
|
| StageChannel
|
||||||
|
| ForumChannel
|
||||||
|
| Snowflake;
|
||||||
|
|
||||||
export interface InviteCreateOptions {
|
export interface InviteCreateOptions {
|
||||||
temporary?: boolean;
|
temporary?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user