mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
Added Colors file
removed colours for consistency
This commit is contained in:
@@ -17,12 +17,7 @@ class ServerPermissions {
|
||||
this.id = data.id;
|
||||
|
||||
}
|
||||
|
||||
get colour(){
|
||||
// screw the american spelling
|
||||
return this.color;
|
||||
}
|
||||
|
||||
|
||||
serialise() {
|
||||
return {
|
||||
createInstantInvite : this.createInstantInvite,
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
var request = require("superagent");
|
||||
var Endpoints = require("./Endpoints.js");
|
||||
var Client = require("./Client.js");
|
||||
var Colors = require("../ref/colours.js");
|
||||
|
||||
var Discord = {
|
||||
Endpoints : Endpoints,
|
||||
Client : Client
|
||||
Client : Client,
|
||||
Colors : Colors
|
||||
}
|
||||
|
||||
Discord.patchStrings = function () {
|
||||
|
||||
Reference in New Issue
Block a user