mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
refactor(CommandInteractionOptionResolver): add readonly data property (#6156)
This commit is contained in:
Vendored
+2
-1
@@ -427,8 +427,9 @@ export class CommandInteraction extends Interaction {
|
||||
export class CommandInteractionOptionResolver {
|
||||
public constructor(client: Client, options: CommandInteractionOption[]);
|
||||
public readonly client: Client;
|
||||
private _options: CommandInteractionOption[];
|
||||
public readonly data: readonly CommandInteractionOption[];
|
||||
private _group: string | null;
|
||||
private _hoistedOptions: CommandInteractionOption[];
|
||||
private _subCommand: string | null;
|
||||
private _getTypedOption(
|
||||
name: string,
|
||||
|
||||
Reference in New Issue
Block a user