irgendwas mit Leerzeichen, danke mrhanky <3

This commit is contained in:
Flummi 2018-08-10 09:38:56 +00:00
parent a0f61a461b
commit e155a8ccec

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 => String.fromCharCode(65312 + (c.charCodeAt(0) - 64))).join``);
e.reply(args.toUpperCase().split``.map(c => c === ' ' ? ' ' : String.fromCharCode(65312 + (c.charCodeAt(0) - 64))).join``);
}
}));