This commit is contained in:
Daniel Odendahl Jr
2017-11-28 18:25:13 +00:00
parent 6d26e47105
commit 9818ff6327
49 changed files with 118 additions and 283 deletions
+1 -2
View File
@@ -13,14 +13,13 @@ module.exports = class ComplimentCommand extends Command {
key: 'user',
prompt: 'What user do you want to compliment?',
type: 'user',
default: ''
default: msg => msg.author
}
]
});
}
run(msg, { user }) {
if (!user) user = msg.author;
return msg.say(`${user.username}, ${compliments[Math.floor(Math.random() * compliments.length)]}`);
}
};
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = class GuessLooksCommand extends Command {
key: 'user',
prompt: 'Which user do you want me to guess the looks of?',
type: 'user',
default: ''
default: msg => msg.author
}
]
});
+1 -2
View File
@@ -13,14 +13,13 @@ module.exports = class RoastCommand extends Command {
key: 'user',
prompt: 'What user do you want to roast?',
type: 'user',
default: ''
default: msg => msg.author
}
]
});
}
run(msg, { user }) {
if (!user) user = msg.author;
return msg.say(`${user.username}, ${roasts[Math.floor(Math.random() * roasts.length)]}`);
}
};