1.0.0 • Published 5 years ago

discord-textify v1.0.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

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);

Example

npm.io

1.0.0

5 years ago

0.0.5

5 years ago