New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discordjs-colors-bundle

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discordjs-colors-bundle

Tons of colors for your DiscordJS bot's embed

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source

🍃 DiscordJS Colors Bundle

Tons of colors pack for your Discord Bot's embed

💻 Installation

Npm

npm i discordjs-colors-bundle

Yarn

yarn add discordjs-colors-bundle

🚀 Features

  • More than 25 unique colors
  • Zero-Dependency module
  • Light weight
  • TypeScript support

❓ How to use

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.

📝 License

MIT LICENSE;

Keywords

FAQs

Package last updated on 08 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc