mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 22:24:45 +12: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:
parent
d5be4242c6
commit
727dc094d5
2 changed files with 9 additions and 2 deletions
|
@ -45,8 +45,9 @@ class GuildInviteManager extends CachedManager {
|
|||
* * VoiceChannel
|
||||
* * NewsChannel
|
||||
* * StageChannel
|
||||
* * ForumChannel
|
||||
* * Snowflake
|
||||
* @typedef {TextChannel|VoiceChannel|NewsChannel|StageChannel|Snowflake}
|
||||
* @typedef {TextChannel|VoiceChannel|NewsChannel|StageChannel|ForumChannel|Snowflake}
|
||||
* 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[];
|
||||
}
|
||||
|
||||
export type GuildInvitableChannelResolvable = TextChannel | VoiceChannel | NewsChannel | StageChannel | Snowflake;
|
||||
export type GuildInvitableChannelResolvable =
|
||||
| TextChannel
|
||||
| VoiceChannel
|
||||
| NewsChannel
|
||||
| StageChannel
|
||||
| ForumChannel
|
||||
| Snowflake;
|
||||
|
||||
export interface InviteCreateOptions {
|
||||
temporary?: boolean;
|
||||
|
|
Loading…
Reference in a new issue