djs-meme
v1.2.8
Published
A package with helps to interact with reddit api and fetch memes in just two lines.
Downloads
21
Maintainers
Readme
DJS Meme
Inspired by srod-v2
Example
const Discord = require('discord.js');
const gottem = require('djs-meme');
const bot = new Discord.Client();
bot.on("ready", () => console.log(`Logged in as ${bot}`));
bot.on("message", async message => {
if (message.content === '/meme') {
const Meme = await gottem.meme();
return message.channel.send(Meme);
};
});
bot.login("TOKEN HERE LOL");
Support
If you have any issues join the support server