d7k
v1.0.8
Published
Package That generates egyptian jokes for discord.js/guilded.js/telegarm.js
Downloads
17
Maintainers
Readme
D7k
D7k, Package That generates egyptian jokes for discord.js/guilded.js
Install Package
npm install d7k
Usage
Generate egyptian jokes for discord.js/guilded.js
Example
const { generateLongJoke, generateShortJoke, hkmtElYom, generateJoke } = require(`d7k`);
console.log(generateLongJoke());
console.log(generateShortJoke());
console.log(hkmtElYom());
console.log(generateJoke());
Discord.js
const { generateLongJoke, generateShortJoke, hkmtElYom, generateJoke } = require(`d7k`);
client.on("messageCreate", async message => {
if (message.content.startsWith("gen-jokes")) {
const jokes = generateJoke();
const longjokes = generateLongJoke();
const shortjokes = generateShortJoke();
const hkmtElYomjoke = hkmtElYom();
await message.reply({content: `**${jokes}**\n${longjokes}\n${shortjokes}\n${hkmtElYomjoke}`});
}
});
Gulided.js
const { generateLongJoke, generateShortJoke, hkmtElYom, generateJoke } = require(`d7k`);
client.on('messageCreate', message => {
if (message.content === 'gen-jokes') {
const jokes = generateJoke();
const longjokes = generateLongJoke();
const shortjokes = generateShortJoke();
const hkmtElYomjoke = hkmtElYom();
await message.reply({content: `**${jokes}**\n${longjokes}\n${shortjokes}\n${hkmtElYomjoke}`});
}
});
If you have any joke you can suggest it in https://discord.gg/vms Any problem join server https://discord.gg/vms Copyrights to vampire_sekkena