Constants
ZombieClient exposes a set of helpful constants that you can use across your bot.
BOT_COLORS
A predefined palette of beautiful, vibrant colors for your Embeds. You can access these colors directly from the ZombieClient instance (client.colors) or import them manually.
typescript
import { BOT_COLORS } from '@thezombiepl/zombieclient';
// or via client instance:
const color = client.colors.BOT_INFO;Available Colors:
| Constant | Hex Value | Color Preview | Typical Use Case |
|---|---|---|---|
BOT_INFO | 0x00dac0 | Cyan | General information, stats, profiles |
BOT_GREEN | 0x1ada00 | Green | Success messages, operation completed |
BOT_RED | 0xda001a | Red | Error messages, missing permissions |
BOT_ORANGE | 0xff6700 | Orange | Warnings, cooldowns, moderation |
Usage Example:
typescript
const embed = new EmbedBuilder()
.setColor(client.colors.BOT_GREEN)
.setDescription('Command executed successfully!');