2019-09-13 20:02:41 +00:00
|
|
|
exports.run = async (message, args) => {
|
|
|
|
if (args.length === 0) return `${message.author.mention}, you need to provide some text to convert to fullwidth!`;
|
2021-01-18 20:11:28 +00:00
|
|
|
return args.join("").replaceAll(/[A-Za-z0-9]/g, (s) => { return String.fromCharCode(s.charCodeAt(0) + 0xFEE0); });
|
2019-09-13 20:02:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
exports.aliases = ["aesthetic", "aesthetics", "aes"];
|
2019-12-02 20:47:22 +00:00
|
|
|
exports.category = 4;
|
2019-12-05 16:58:46 +00:00
|
|
|
exports.help = "Converts a message to fullwidth/aesthetic text";
|
|
|
|
exports.params = "[text]";
|