This commit is contained in:
Daniel Odendahl Jr
2017-04-30 22:56:59 +00:00
parent 83e990ae1c
commit 877f720cfc
105 changed files with 460 additions and 461 deletions
+2 -2
View File
@@ -18,9 +18,9 @@ module.exports = class ShipCommand extends Command {
});
}
run(message, args) {
run(msg, args) {
const { things } = args;
const rating = Math.floor(Math.random() * 100) + 1;
return message.say(`I'd give ${things} a ${rating}%!`);
return msg.say(`I'd give ${things} a ${rating}%!`);
}
};