config.js für Namen und Farbe Variable eingebaut
This commit is contained in:
1 parent
22779120b3
commit
81d85a0d68
4 files changed
+129
-34
No files matched your search
@@ -0,0 +1,51 @@
|
||||
// config.js - Zentrale Konfiguration für WhoPays App
|
||||
|
||||
export const CONFIG = {
|
||||
A: {
|
||||
name: "Lumpia", // Name Marc
|
||||
colorHex: "#6495ED", // Farbe: Blau
|
||||
colorDiscord: 0x6495ed, // Discord Embed
|
||||
icon: "a.png", // Profilbild
|
||||
background: "bgA.jpg" // Hintergrundbild
|
||||
},
|
||||
B: {
|
||||
name: "Pierogi", // Name Laila
|
||||
colorHex: "#3C0061", // Farbe: Lila
|
||||
colorDiscord: 0x3C0061c, // Discord Embed
|
||||
icon: "b.png", // Profilbild
|
||||
background: "bgB.jpg" // Hintergrundbild
|
||||
}
|
||||
};
|
||||
|
||||
// Discord Webhook URL
|
||||
export const DISCORD_WEBHOOK_URL = process.env.DISCORD_WEBHOOK_URL
|
||||
|| "https://discord.com/api/webhooks/1450872860607381515/zRbiXOykKPUfLJ_H87wD2OxQJPLdro6yQzU2T48Pg4fxSNaXEqBFgxdHGTiIDmmKGHIF";
|
||||
|
||||
// Server URL (für Discord Thumbnails)
|
||||
export const PUBLIC_BASE_URL = process.env.PUBLIC_BASE_URL
|
||||
|| "http://localhost:3000";
|
||||
|
||||
// Port
|
||||
export const PORT = process.env.PORT || 3000;
|
||||
|
||||
/*
|
||||
* ANLEITUNG ZUM ANPASSEN:
|
||||
*
|
||||
* 1. Namen ändern:
|
||||
* name: "DeinName"
|
||||
*
|
||||
* 2. Farben ändern (Web und Discord müssen gleich sein):
|
||||
* colorHex: "#3498db" // Hex-Format für Web
|
||||
* colorDiscord: 0x3498db // Hex ohne # für Discord
|
||||
*
|
||||
* Beispiele:
|
||||
* Blau: colorHex: "#3498db", colorDiscord: 0x3498db
|
||||
* Lila: colorHex: "#9b59b6", colorDiscord: 0x9b59b6
|
||||
* Orange: colorHex: "#e67e22", colorDiscord: 0xe67e22
|
||||
* Pink: colorHex: "#e91e63", colorDiscord: 0xe91e63
|
||||
*
|
||||
* 3. Bilder ändern:
|
||||
* icon: "mein-bild.png"
|
||||
* background: "mein-hintergrund.jpg"
|
||||
* (Dateien müssen in /root/whopays/img/ liegen!)
|
||||
*/
|
||||
Reference in new issue
Block a user