0.1.0 • Published 8 years ago

discord-colors.js v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

Discord-colors.js

A new module to modify colors in discord server.

Installation

Use

npm i discord-colors.js --save

To install it

Usage

It simple to use!

const Colors = require('discord-colors.js').Color;
const Discord = require('discord.js');
const client = new Discord.Client();
let prefix = 'myprefix';

client.login('Supersecrettoken');

client.on('ready', () => {
	console.log('I\'m ready brah');
});

client.on('message', message => {
	if(message.content.startsWith(prefix + 'gimmesomegreen')) {
		Color('green', message.guild, message); // You dont need to make an succes message the bot will automaticlly sends it.
	}
});

Created by

Kyle Mods