Merge branch 'main' of https://github.com/night0721/cath.exe
This commit is contained in:
commit
b123c4e148
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 (x.value) args.push(x.value);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (option.type === 1) {
|
if (option.type === "SUB_COMMAND") {
|
||||||
if (option.name) args.push(option.name);
|
if (option.name) args.push(option.name);
|
||||||
option.options?.forEach(x => {
|
option.options?.forEach(x => {
|
||||||
if (x.value) args.push(x.value);
|
if (x.value) args.push(x.value);
|
||||||
|
|
Loading…
Reference in a new issue