7 lines
330 B
JavaScript
7 lines
330 B
JavaScript
|
exports.run = async (message, args) => {
|
||
|
if (args.length === 0) return `${message.author.mention}, you need to provide some text to convert to fullwidth!`;
|
||
|
return args.join("").replace(/[A-Za-z0-9]/g, (s) => { return String.fromCharCode(s.charCodeAt(0) + 0xFEE0); });
|
||
|
};
|
||
|
|
||
|
exports.aliases = ["aesthetic", "aesthetics", "aes"];
|