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:
Jiralite 2023-08-14 18:19:47 +01:00 committed by GitHub
parent d5be4242c6
commit 727dc094d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -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
*/

View file

@ -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;