bruh
This commit is contained in:
parent
e1d538cb33
commit
c45e40cb32
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ client.on("interactionCreate", async interaction => {
|
|||
if (x.value) args.push(x.value);
|
||||
});
|
||||
}
|
||||
if (option.type === 1) {
|
||||
if (option.type === "SUB_COMMAND") {
|
||||
if (option.name) args.push(option.name);
|
||||
option.options?.forEach(x => {
|
||||
if (x.value) args.push(x.value);
|
||||
|
|
Loading…
Reference in a new issue