refactor announcement fields to rename "Coming On" to "Releasing" for clarity
All checks were successful
CI / build (push) Successful in 9s

This commit is contained in:
Space-Banane
2026-02-22 17:02:55 +01:00
parent f010255944
commit 7ea4a718cf
2 changed files with 6 additions and 6 deletions

View File

@@ -110,7 +110,7 @@ export default async function (_client: Client) {
const trimmed = comingWhenRaw.trim();
if (trimmed.toLowerCase() === "soon") {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: "Soon™",
inline: false,
});
@@ -134,13 +134,13 @@ export default async function (_client: Client) {
}
if (epoch !== null) {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: `<t:${epoch}:F> (<t:${epoch}:R>)`,
inline: false,
});
} else {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: trimmed,
inline: false,
});

View File

@@ -130,7 +130,7 @@ export default async function (_client: Client) {
const trimmed = comingWhenRaw.trim();
if (trimmed.toLowerCase() === "soon") {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: "Soon™",
inline: false,
});
@@ -152,13 +152,13 @@ export default async function (_client: Client) {
}
if (epoch !== null) {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: `<t:${epoch}:F> (<t:${epoch}:R>)`,
inline: false,
});
} else {
fields.push({
name: "📅 Coming On",
name: "📅 Releasing",
value: trimmed,
inline: false,
});