guh
This commit is contained in:
parent
f4d3ff9b38
commit
4fd751308c
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ bot.once("ready", async () => {
|
|||
const commands = [];
|
||||
for (const command of interactionCommands.values()) {
|
||||
const options = [];
|
||||
for (const option of command.options) {
|
||||
for (const option of Object.values(command.options)) {
|
||||
const newOption = Object.assign({}, option);
|
||||
delete newOption.default;
|
||||
options.push(newOption);
|
||||
|
|
Loading…
Reference in a new issue