mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
The Power of const
This commit is contained in:
@@ -28,8 +28,8 @@ module.exports = class BinaryCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let turnToBinary = args.text;
|
||||
let binaryText = stringToBinary(turnToBinary);
|
||||
const turnToBinary = args.text;
|
||||
const binaryText = stringToBinary(turnToBinary);
|
||||
return message.say(binaryText);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user