Change Variable Names, Remove Useless Commands

This commit is contained in:
Daniel Odendahl Jr
2017-04-29 19:53:01 +00:00
parent 3c773a8952
commit 988912f471
52 changed files with 236 additions and 312 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ module.exports = class ShipCommand extends Command {
run(message, args) {
const { things } = args;
const percentage = Math.floor(Math.random() * 100) + 1;
return message.say(`I'd give ${things} a ${percentage}%!`);
const rating = Math.floor(Math.random() * 100) + 1;
return message.say(`I'd give ${things} a ${rating}%!`);
}
};