4.0.1 • Published 4 years ago
discord-texts v4.0.1
discord-texts is a npm for making text commands easier for Discord.js!
To download this npm just do:
npm i discord-texts
To get started do
const Discord = require('discord.js');
//npm i discord.js
const discordTexts = require("discord-texts");
//npm i discord-texts
const client = new Discord.Client();
client.on('ready', () => console.log("Ready"));
client.on('message', async message => {
const prefix = "!";
//feel free to change the prefix!
const args = message.content
.slice(prefix.length)
.trim()
.split(/ +/g);
//this is so you can do "args[0] or args.join(" ") ect"
if(message.author.bot || message.channel.type === "dm" || !message.content.startsWith(prefix)) return
if (message.content === prefix + "fancy") {
const text = args.join(" ");
if (!text) return message.channel.send("Please provide some text.");
const txt = discordTexts.fancy(text);
message.channel.send(txt);
};
});
client.login("super_secret_bot_token")
All valid text functions:
discordTexts.fancy(<text>)
discordTexts.blackout(<text>)
discordTexts.claptext(<text>)
discordTexts.emojify(<text>)
discordTexts.mock(<text>)
discordTexts.owofy(<text>)
discordTexts.strikethrough(<text>)
discordTexts.tinytext(<text>)
discordText.upsidedown(<text>)
discordText.reverse(<text>)
discordText.vaporwave(<text>)
discordText.pirate(<text>)
If you need any support join the Discord sever
If you would like to support me feel free to add me bot Hikaru
3.0.9
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
3.0.4
4 years ago
3.0.8
4 years ago
3.0.7
4 years ago
3.0.6
4 years ago
3.0.5
4 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
2.0.9
4 years ago
2.0.8
4 years ago
2.0.7
4 years ago
2.0.6
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago