Converts alphabet characters to leet speech. Set the prefix you want and use the leetify command to convert. EXAMPLE: !leetify leet haxor example → 1337 h4x0r 3x4mp13
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const leetify = require('leetify');
let msg = context.params.event.content;
let args = msg.split(' ').splice(1).join(' ');
let leet = leetify(args);
if (msg.startsWith(`${process.env.PREFIX}leetify`)) {
await lib.discord.channels['@0.3.0'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: leet,
});
}