FULLWIDTH

This commit is contained in:
Flummi
2017-11-22 20:27:00 +01:00
parent ef947060d2
commit 343d3dedad
4 changed files with 1 additions and 4756 deletions

View File

@ -1,7 +1,5 @@
import sql from "../sql.js";
const sfu = require("string-form-utils");
const data = {
yiff: [],
kill_templates: [],
@ -240,7 +238,7 @@ module.exports = bot => {
clients: ["irc", "tg"],
f: e => {
const args = e.message.substring(4).trim();
e.reply(sfu.transformToFullwidth(args.toUpperCase()));
e.reply(args.toUpperCase().split``.map(c => String.fromCharCode(65312 + (c.charCodeAt(0) - 64))).join``);
}
});
};

File diff suppressed because it is too large Load Diff