Angepasste namne und Nachrichten

This commit is contained in:
Honey committed 2026-02-12 13:01:12 +01:00
1 parent 279f910b3e
commit 22779120b3
2 files changed
+7 -7

No files matched your search

+6 -6
View File
@@ -107,12 +107,12 @@ async function sendDiscordEmbed(previousKey, currentKey, reason) {
const fields = [
{
name: "Von",
name: "Payed",
value: previous.name,
inline: true
},
{
name: "Zu",
name: "Nows turn",
value: current.name,
inline: true
}
@@ -127,8 +127,8 @@ async function sendDiscordEmbed(previousKey, currentKey, reason) {
}
const embed = {
title: "💸 Zahl-Wechsel",
description: `**${current.name}** ist jetzt dran zu zahlen`,
title: "💸 Pay-Switch",
description: `*${current.name}** turn`,
color: current.color,
thumbnail: {
url: `${PUBLIC_BASE_URL}/img/${current.icon}`
@@ -175,8 +175,8 @@ app.post("/toggle", async (req, res) => {
setState(state);
const logMessage = reason
? `Zahl-Wechsel: ${CONFIG[previousKey].name} → ${CONFIG[state.current].name} (Grund: ${reason})`
: `Zahl-Wechsel: ${CONFIG[previousKey].name} → ${CONFIG[state.current].name}`;
? `Pay-Switch: ${CONFIG[previousKey].name} → ${CONFIG[state.current].name} (Grund: ${reason})`
: `Pay-Switch: ${CONFIG[previousKey].name} → ${CONFIG[state.current].name}`;
console.log(logMessage);