This commit is contained in:
Daniel Odendahl Jr
2017-09-22 17:50:20 +00:00
parent 54ab5d9a42
commit 05f157e2f3
+1 -1
View File
@@ -20,7 +20,7 @@ module.exports = class CoolnessCommand extends Command {
run(msg, { user }) {
if (!user) user = msg.author;
const coolness = msg.author.id / this.client.user.id;
const coolness = user.id / this.client.user.id;
const prefix = user.id === msg.author.id ? 'You\'re' : 'They\'re';
if (coolness < 0.3) return msg.reply(`${prefix} the coolest being to walk this Earth.`);
if (coolness < 0.5) return msg.reply(`${prefix} an extremely cool dude.`);