Added super no details flag to the api
This commit is contained in:
parent
eba7e028b2
commit
9b77912a85
10
src/api.ts
10
src/api.ts
|
@ -264,10 +264,12 @@ const start = async (): Promise<void> => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine if no details flag was on
|
// Determine if no details flag was on
|
||||||
if (query.has("nd")) {
|
if (!query.has("snd")) {
|
||||||
returnText += "\nDetails suppressed by nd query.";
|
if (query.has("nd")) {
|
||||||
} else {
|
returnText += "\nDetails suppressed by nd query.";
|
||||||
returnText += `\nDetails:\n${spoilerTxt}${returnmsg.line3}${spoilerTxt}`;
|
} else {
|
||||||
|
returnText += `\nDetails:\n${spoilerTxt}${returnmsg.line3}${spoilerTxt}`;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue