refactor announcement fields to rename "Coming On" to "Releasing" for clarity
All checks were successful
CI / build (push) Successful in 9s
All checks were successful
CI / build (push) Successful in 9s
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user