@@ -215,6 +215,7 @@ import {
215215 APIFileComponent ,
216216 APIMessageTopLevelComponent ,
217217 EntryPointCommandHandlerType ,
218+ InviteFlags ,
218219} from 'discord-api-types/v10' ;
219220import { ChildProcess } from 'node:child_process' ;
220221import { EventEmitter } from 'node:events' ;
@@ -2274,6 +2275,7 @@ export class Invite extends Base {
22742275 /** @deprecated Public Stage Instances don't exist anymore */
22752276 public stageInstance : InviteStageInstance | null ;
22762277 public guildScheduledEvent : GuildScheduledEvent | null ;
2278+ public flags : Readonly < InviteFlagsBitField > ;
22772279}
22782280
22792281/** @deprecated Public Stage Instances don't exist anymore */
@@ -2294,6 +2296,13 @@ export class InviteGuild extends AnonymousGuild {
22942296 public welcomeScreen : WelcomeScreen | null ;
22952297}
22962298
2299+ export type InviteFlagsString = keyof typeof InviteFlags ;
2300+
2301+ export class InviteFlagsBitField extends BitField < InviteFlagsString > {
2302+ public static Flags : typeof InviteFlags ;
2303+ public static resolve ( bit ?: BitFieldResolvable < InviteFlagsString , number > ) : number ;
2304+ }
2305+
22972306export class LimitedCollection < Key , Value > extends Collection < Key , Value > {
22982307 public constructor ( options ?: LimitedCollectionOptions < Key , Value > , iterable ?: Iterable < readonly [ Key , Value ] > ) ;
22992308 public maxSize : number ;
0 commit comments