FULLWIDTH
This commit is contained in:
parent
ef947060d2
commit
343d3dedad
5
package-lock.json
generated
5
package-lock.json
generated
@ -2115,11 +2115,6 @@
|
||||
"hashish": "0.0.4"
|
||||
}
|
||||
},
|
||||
"string-form-utils": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-form-utils/-/string-form-utils-0.1.0.tgz",
|
||||
"integrity": "sha1-z/J9cobJCf7G8LicngouXl+mSNk="
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||
|
@ -15,7 +15,6 @@
|
||||
"node-telegram-bot-api": "^0.29.0",
|
||||
"nodejs-mysql": "^0.1.3",
|
||||
"request": "^2.83.0",
|
||||
"string-form-utils": "^0.1.0",
|
||||
"winston": "^2.4.0",
|
||||
"xml2js": "^0.4.19",
|
||||
"youtube-dl": "^1.12.2"
|
||||
|
@ -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``);
|
||||
}
|
||||
});
|
||||
};
|
4747
src/neofetch
4747
src/neofetch
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user