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
1 changed files with 4 additions and 0 deletions

View File

@ -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,