mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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,
|
||||
required: option.required,
|
||||
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