stupid hack to make send option last
This commit is contained in:
parent
d55a28149a
commit
18ef1c0503
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue