Update useless_nxy.mjs

This commit is contained in:
Flummi 2018-08-10 09:58:20 +00:00
parent e155a8ccec
commit 3b9e755adb

View File

@ -189,7 +189,7 @@ export default bot => {
set: "nxy",
f: e => {
const args = e.message.substring(4).trim();
e.reply(args.toUpperCase().split``.map(c => c === ' ' ? ' ' : String.fromCharCode(65312 + (c.charCodeAt(0) - 64))).join``);
e.reply([...args.toUpperCase()].map(c => c === ' ' ? ' ' : String.fromCharCode(65248 + c.charCodeAt(0))).join``);
}
}));