mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
refactor(InteractionCollector): only keep Ids of objects (#6084)
Co-authored-by: monbrey <rsm999@uowmail.edu.au> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
8
typings/index.d.ts
vendored
8
typings/index.d.ts
vendored
@@ -984,12 +984,12 @@ export class InteractionCollector<T extends Interaction> extends Collector<Snowf
|
||||
private _handleChannelDeletion(channel: GuildChannel): void;
|
||||
private _handleGuildDeletion(guild: Guild): void;
|
||||
|
||||
public channel: TextBasedChannels | null;
|
||||
public channelId: Snowflake | null;
|
||||
public componentType: MessageComponentType | null;
|
||||
public readonly endReason: string | null;
|
||||
public guild: Guild | null;
|
||||
public guildId: Snowflake | null;
|
||||
public interactionType: InteractionType | null;
|
||||
public message: Message | null;
|
||||
public messageId: Snowflake | null;
|
||||
public options: InteractionCollectorOptions<T>;
|
||||
public total: number;
|
||||
public users: Collection<Snowflake, User>;
|
||||
@@ -3790,7 +3790,7 @@ export interface InteractionCollectorOptions<T extends Interaction> extends Coll
|
||||
max?: number;
|
||||
maxComponents?: number;
|
||||
maxUsers?: number;
|
||||
message?: Message;
|
||||
message?: Message | APIMessage;
|
||||
}
|
||||
|
||||
export interface InteractionDeferOptions {
|
||||
|
||||
Reference in New Issue
Block a user