stupid hack to make send option last

This commit is contained in:
Cynthia Foxwell 2024-05-17 14:44:35 -06:00
parent d55a28149a
commit 18ef1c0503

View file

@ -196,6 +196,10 @@ bot.once("ready", async () => {
delete option.default; delete option.default;
} }
// stupid hack
const send = options.shift();
options.push(send);
await bot.createCommand({ await bot.createCommand({
name: command.name, name: command.name,
type: command.type, type: command.type,