@discord-factory/colorize
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

🎨 Colorize

When you develop discord bots, you have to use colors in your embeds. Either you have a color code beforehand, or you usually spend a lot of time choosing a color that suits you by trial and error...

In order to solve this problem, the @discord-factory/colorize module provides you with a wide range of colors based on the tailwind color palette.

Getting started

In order to use the module, you must first have installed it with the following command :

npm install @discord-factory/colorize
yarn add @discord-factory/colorize

You can now use it in your embeds as below :

import Colors from '@discord-facory/colorize'
import { MessageEmbed } from 'discord.js'

const embed = new MessageEmbed({
  description: 'My embed !',
  color: Colors.INVISIBLE, 👈 // Please select your prefered color
})

License

MIT License © 2021 Baptiste Parmantier

Readme

Keywords

none

Package Sidebar

Install

npm i @discord-factory/colorize

Weekly Downloads

4

Version

0.1.4

License

MIT

Unpacked Size

49.6 kB

Total Files

86

Last publish

Collaborators

  • leadcodedev