mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
feat: stage instance invite (#5856)
Co-authored-by: Antonio Román <kyradiscord@gmail.com> Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
13
typings/index.d.ts
vendored
13
typings/index.d.ts
vendored
@@ -1192,6 +1192,19 @@ declare module 'discord.js' {
|
||||
public toJSON(): unknown;
|
||||
public toString(): string;
|
||||
public static INVITES_PATTERN: RegExp;
|
||||
public stageInstance: InviteStageInstance | null;
|
||||
}
|
||||
|
||||
export class InviteStageInstance extends Base {
|
||||
constructor(client: Client, data: unknown, channelID: Snowflake, guildID: Snowflake);
|
||||
public channelID: Snowflake;
|
||||
public guildID: Snowflake;
|
||||
public members: Collection<Snowflake, GuildMember>;
|
||||
public topic: string;
|
||||
public participantCount: number;
|
||||
public speakerCount: number;
|
||||
public readonly channel: StageChannel | null;
|
||||
public readonly guild: Guild | null;
|
||||
}
|
||||
|
||||
export class Message extends Base {
|
||||
|
||||
Reference in New Issue
Block a user