mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
A
This commit is contained in:
@@ -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.`);
|
||||
|
||||
Reference in New Issue
Block a user