mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 08:22:37 +02:00
The Power of const
This commit is contained in:
@@ -28,8 +28,8 @@ module.exports = class RomanCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let numberToRoman = args.number;
|
||||
let romanInterger = numberToRoman;
|
||||
const numberToRoman = args.number;
|
||||
const romanInterger = numberToRoman;
|
||||
return message.say(romanNumeralConverter.getRomanFromInteger(romanInterger));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user