This commit is contained in:
Cynthia Foxwell 2024-05-17 15:28:46 -06:00
parent f4d3ff9b38
commit 4fd751308c

View file

@ -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);