README
Discord-textify
The one and only npm package you need to change text into emoji, uwu text, and much more!
Installation
npm i discord-textify
Example Usage
const { Client } = require(`discord.js`);
const client = new Client();
const discordify = require(`discordify`);
const token = 'YOUR TOKEN HERE!';
client.on(`ready`, (ready) => console.log(`${client.user.tag} has logged in`));
client.on(`message`, async (message) => {
if (message.content.startsWith(`!emojify`) {
let emojified = await discordify.emojify('YOUR TEXT HERE!');
return message.channel.send(emojified);
} else if (message.content.startsWith(`!owofy`) {
let owofied = await discordify.owofy('YOUR TEXT HERE!');
return message.channel.send(owofied);
}
}
client.login(token);