reddit-package

1.0.0 • Public • Published

Welcome to the Reddit-Package

This is an implementation with a discord bot

const lib = require("reddit-package")
const Discord = require("discord.js")
const client = new Discord.Client()
 
client.on('message', async message => {
    if(message.content === "!meme") {
        let data = lib.reddit('meme')
 
        message.channel.send(data.img)
        //sends the image 
    }
})
 
 
 
 
client.login("always keep ur token secure")

Package Sidebar

Install

npm i reddit-package

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

1.61 kB

Total Files

3

Last publish

Collaborators

  • laggyraggy