Spaces:
Runtime error
Runtime error
Download NewBotStyle.js from Brozy123/LineUp-Bot: direct link, hf CLI and curl.
- Browser
- Download file 700 Bytes
-
https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/d7287468e78b0485df94de132afb92bfc4b1a1e5/NewBotStyle.js
- Command line
-
hf download hf://spaces/Brozy123/LineUp-Bot@d7287468e78b0485df94de132afb92bfc4b1a1e5/NewBotStyle.js
-
curl -L -o NewBotStyle.js https://huggingface.co/spaces/Brozy123/LineUp-Bot/resolve/d7287468e78b0485df94de132afb92bfc4b1a1e5/NewBotStyle.js
700 Bytes
| /** | |
| * 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 }; | |