DISCORD FUN
Below are the things that this package offers you.
SETUP
const discord = require("discord.js")
const client = new discord.Client()
const { Discordfun } = require("discord-fun")
const discordfun = new Discordfun();
client.on("ready", () => {
console.log(`Logged In As ${client.user.tag}`)
})
client.on("message", async message => {
if(message.content === "meme") {
let data = await discordfun.Meme()
message.channel.send(data)
}
})
client.login("TOKEN")
DOCUMENTATION
Meme(): Provieds You the JSON embed with meme image and title.
let data = await discordfun.Meme()
message.channel.send(data)
Advice(): Provieds You a random advice.
let data = await discordfun.Advice()
message.channel.send(data)
String(number): Provieds You a random string, length will be based on the number you gave.
let data = await discordfun.String(6)
message.channel.send(data)
Neko(): Provieds You a random neko image.
let data = await discordfun.Neko()
message.channel.send(data)
Joke(): Provieds You a Random Funny Joke.
let data = await discordfun.Joke()
message.channel.send(data)
DarkJoke(): Provieds You a Random Dark Joke.
let data = await discordfun.DarkJoke()
message.channel.send(data)
Fact(): Provides you a random fact.
let data = await discordfun.Fact();
message.channel.send(data);