diff --git a/commands/games/rock-paper-scissors.js b/commands/games/rock-paper-scissors.js index a3f6eae2..3b15df59 100644 --- a/commands/games/rock-paper-scissors.js +++ b/commands/games/rock-paper-scissors.js @@ -20,7 +20,7 @@ module.exports = class RockPaperScissorsCommand extends Command { }); } - run(msg, args) { + run(msg, args) { // eslint-disable-line consistent-return const { choice } = args; const response = choices[Math.floor(Math.random() * choices.length)]; if (choice === 'rock') { diff --git a/commands/num-edit/temperature.js b/commands/num-edit/temperature.js index 702333a2..37019f2b 100644 --- a/commands/num-edit/temperature.js +++ b/commands/num-edit/temperature.js @@ -37,7 +37,7 @@ module.exports = class TemperatureCommand extends Command { }); } - run(msg, args) { + run(msg, args) { // eslint-disable-line consistent-return const { base, to, amount } = args; if (base === to) { return msg.say(`Converting ${base} to ${to} is the same value, dummy.`); diff --git a/commands/random-res/name.js b/commands/random-res/name.js index 0552a518..81886ac4 100644 --- a/commands/random-res/name.js +++ b/commands/random-res/name.js @@ -24,7 +24,7 @@ module.exports = class RandomNameCommand extends Command { }); } - run(msg, args) { + run(msg, args) { // eslint-disable-line consistent-return const { gender } = args; const lastName = lastNames[Math.floor(Math.random() * lastNames.length)]; if (gender === 'male') {