Tons of colors pack for your Discord Bot's embed
npm i discordjs-colors-bundle
yarn add discordjs-colors-bundle
- More than 25 unique colors
- Zero-Dependency module
- Light weight
- TypeScript support
Here's a basic example to work with it
const { colors } = require("discordjs-colors-bundle");
if (command == "e?color-name") {
const ColorsEmbed = new EmbedBuilder()
.setTitle("Just an embed")
.setDescription(
"This embed is colored by [discordjs-colors-bundle](https://npmjs.com/package/discordjs-colors-bundle)"
)
.setColor(colors.SeaGreen); // Sea Green color
message.reply({ embeds: [ColorsEmbed] });
}
If you want to log all the colors (just in case) you can use the colorNames()
function.
Here's an example of it:
console.log(colorNames()); // You can add the amount in the function parameter if you want.