discord-meme-feed
v2.0.0
Published
Returns a random shitpost/meme or a nerdy joke. 🥶
Downloads
3
Readme
🐸 || Discord Meme Feed
Posts a random shitpost/meme/joke from the database. https://docs.jimijs.pl/
🤗 || Why us?
Our memes are taken from various discord servers, and are 100x funnier than the reddit ones. Our memes API was made 100% by us, and not stolen from the world wide web.
🤔 || How to use it?
Get a random meme:
const memefeed = require('discord-meme-feed')
memefeed.meme (function(url) {
// --> console.log(url)
});
Get a random nerdy joke
const memefeed = require('discord-meme-feed')
memefeed.joke (function(url) {
// --> console.log(url)
});
Discord bot example:
const Discord = require('discord.js')
const client = new Discord.Client()
const memefeed = require('discord-meme-feed')
client.on('message', (message) => {
if(message.content.startsWith('!meme')) {
memefeed.meme (function(url) {
message.channel.send(`${url || null}`)
});
}
})
client.on('message', (message) => {
if(message.content.startsWith('!nerdy-joke')) {
memefeed.joke (function(joke) {
message.channel.send(`${joke}`)
});
}
})
client.login(token)
💥 More info
Memes are collected from Discord Meme Feed Bot and then saved into the database. The database is cleared once per month, to keep the memes fresh 🥶
If you have any questions, contact me on Discord: jimi#2014