This commit is contained in:
Daniel Odendahl Jr
2017-06-01 08:57:00 +00:00
parent a93dc0a880
commit 9a9063f40c
2 changed files with 12 additions and 15 deletions
-14
View File
@@ -1,14 +0,0 @@
{
"statuses": {
"online": "<:online:313956277808005120> Online",
"idle": "<:away:313956277220802560> Idle",
"dnd": "<:dnd:313956276893646850> Do Not Disturb",
"offline": "<:offline:313956277237710868> Offline"
},
"colors": {
"online": 0x00AE86,
"idle": 0xFFFF00,
"dnd": 0xFF0000,
"offline": 0x808080
}
}
+12 -1
View File
@@ -1,7 +1,18 @@
const Command = require('../../structures/Command');
const { RichEmbed } = require('discord.js');
const moment = require('moment');
const { statuses, colors } = require('../../assets/json/user-info');
const statuses = {
online: "<:online:313956277808005120> Online",
idle: "<:away:313956277220802560> Idle",
dnd: "<:dnd:313956276893646850> Do Not Disturb",
offline: "<:offline:313956277237710868> Offline"
};
const colors = {
online: 0x00AE86,
idle: 0xFFFF00,
dnd: 0xFF0000,
offline: 0x808080
};
module.exports = class UserInfoCommand extends Command {
constructor(client) {