Coolness Command

This commit is contained in:
Daniel Odendahl Jr
2017-09-22 17:42:01 +00:00
parent eb0f3dc640
commit adf60ce744
2 changed files with 23 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
const Command = require('../../structures/Command');
module.exports = class CoolnessCommand extends Command {
constructor(client) {
super(client, {
name: 'coolness',
group: 'random',
memberName: 'coolness',
description: 'Determines your coolness.'
});
}
run(msg) {
const coolness = msg.author.id / this.client.user.id;
if (coolness < 0.3) return msg.reply('You are the coolest being to walk this Earth.');
if (coolness < 0.5) return msg.reply('You are an extremely cool dude.');
if (coolness < 0.8) return msg.reply('You\'re pretty sweet, not gonna lie.');
if (coolness < 1) return msg.reply('You\'re okay, nothing special.');
if (coolness < 1.3) return msg.say('You just aren\'t all that neat.');
return msg.say('You suck, honestly.');
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "41.4.2",
"version": "41.5.0",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {