From 18ef1c0503da188ed240597544a502ce9b5dc2b9 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Fri, 17 May 2024 14:44:35 -0600 Subject: [PATCH] stupid hack to make send option last --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index 6e6dca2..fed7b3c 100644 --- a/src/index.js +++ b/src/index.js @@ -196,6 +196,10 @@ bot.once("ready", async () => { delete option.default; } + // stupid hack + const send = options.shift(); + options.push(send); + await bot.createCommand({ name: command.name, type: command.type,