Spaces:
Runtime error
Runtime error
File size: 700 Bytes
5ac32e4 b0e3513 5ac32e4 b0e3513 5ac32e4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /**
* NewBotStyle.js - Branding and UI Definitions
* Contains the premium design tokens and layout logic for the Node.js port.
*/
const { EmbedBuilder, Colors } = require('discord.js');
const UI = {
colors: {
primary: 0x5865F2,
success: 0x57F287,
danger: 0xED4245,
neutral: 0x2B2D31
},
icons: {
success: "✅",
error: "❌",
loading: "⏳",
match: "⚽"
},
createEmbed(title, description, color = 0x5865F2) {
return new EmbedBuilder()
.setTitle(title)
.setDescription(description)
.setColor(color)
.setTimestamp();
}
};
module.exports = { UI };
|