mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
fix(ApplicationCommand): return string equivalent of ApplicationCommandOptionType (#5617)
This commit is contained in:
committed by
GitHub
parent
68b40dd91d
commit
a6079bc9ce
@@ -210,7 +210,7 @@ class ApplicationCommand extends Base {
|
|||||||
description: option.description,
|
description: option.description,
|
||||||
required: option.required,
|
required: option.required,
|
||||||
choices: option.choices,
|
choices: option.choices,
|
||||||
options: option.options?.map(o => this.transformOption(o)),
|
options: option.options?.map(o => this.transformOption(o, received)),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user