GithubHelp home page GithubHelp logo

colors-discord's Introduction

Colors!

Installation

npm install colors-discord

Usage

const colors = require('colors-discord');

const embed = new Embed() //these depends your discord.js version.
      .setTitle("Test")
      .setColor(colors("red"));

message.reply({embeds: [embed]})

Colors

  • default
  • aqua
  • dark_aqua
  • green
  • dark_green
  • blue
  • dark_blue
  • purple
  • dark_purple
  • luminous_vivid_pink
  • dark_vivid_pink
  • gold
  • dark_gold
  • orange
  • dark_orange
  • red
  • dark_red
  • grey
  • dark_grey
  • darker_grey
  • light_grey
  • navy
  • dark_navy
  • yellow
  • white
  • blurple
  • greyple
  • dark_but_not_black
  • not_quite_black
  • green
  • yellow2
  • fuschia
  • red2
  • black
  • random

ToDo

  • HeX Integration
  • Add More Colors
  • Docs Guide
  • Easy Integration

Contribution

HERE

License

MIT

colors-discord's People

Contributors

emmag2 avatar mayivt avatar thepotatocamera avatar

Watchers

 avatar

Forkers

emmag2

colors-discord's Issues

sorry

sorry, but ur package is useless

ppl can just import Util from discord.js and use their resolveColor method

const { Util, Embed } = require('discord.js')

const embed = new Embed()
    .setTitle('hi')
    .setColor(Util.resolveColor('Green'))

message.reply({embeds: [embed]})
// and thats it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.