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