🖥️
Discord Base
  • Welcome
  • Getting Started
    • Quickstart
  • Templates
    • Command
    • Events
    • Component
    • Route
  • Utilities
    • Colors
    • Logger
    • Remote MySQL
    • Local MySQL
    • Query Builder
  • DataTypes
    • Commands
    • Events
    • Routes
Powered by GitBook
On this page
  1. Utilities

Colors

Extend default terminal messages by adding colors. You can set colors for foreground and background.

DO NOT DELETE THIS!

Available colors are: black, red, green, yellow, blue, magenta, cyan, white, gray, crimson

import color from "@utils/colors";
// fg as foreground and bg as background
console.log(`${color.fg.red}Hello in red ${color.reset}.`);
PreviousRouteNextLogger

Last updated 9 months ago