fix: setGuildMotd response for U29.3.1
All checks were successful
Build / build (pull_request) Successful in 4m4s

Unsure which version introduced long descriptions exactly, but it surely wasn't this one. :^)
This commit is contained in:
Sainan 2025-10-05 20:25:59 +02:00
parent 1ecf53c96b
commit 02cd7b3f6c

View File

@ -57,7 +57,7 @@ export const setGuildMotdController: RequestHandler = async (req, res) => {
await guild.save();
}
if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.03.24.20.24") > 0) {
if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.11.04.18.58") > 0) {
res.json({ IsLongMOTD, MOTD });
} else {
res.send(MOTD).end();