Skip to content

axhuwastaken/Reddit-Feed-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit feed discord

Get reddit feed directly into your discord server's!

Simple and light weight

Instead of using discord bot for reddit feed, i choose webhooks it is lightweight and requires less resource to run can host easily :)

Key features

  • Send reddit' new posts to discord within 10-20s.
  • NSFW Filter: (helps you to stay away from unwanted stuff)
  • Local DB for Caching (you don't have to setup)

Now let's see how to setup 🚀

  1. first let's setup our config.json

file will look like this

{
    "webhook-urls": "your webhook url here", //replace the text with your webhook url
    "subreddits": "india", //the subreddits you want to subscribe, for multiple subreddits use: meme+minecraft

    "options": {
        "allow_nsfw": false, //either you want to see nsfw post or not,set it true or false
        "send_embeds": false, // true or false
        "embed_color": "ff5700" //color hex
    },

    "extra": { // optional
        "webhook_name": "Reddit feed", // name of webhook
        "avatar_url": "https://www.designyourway.net/blog/wp-content/uploads/2021/01/reddit-fonts.jpeg" 
    }
}

make sure you entered correct information in config.json

done?

  1. now use this command to install the required libs
pip install -r requirements.txt
  1. final step
python main.py

Done!

one more thing until you don't know what you are doing don't make any changes in db.json

Some word

Contributors are heartly welcomed💓

even tho this is small project but things can get better. feel free to report any bug.

About

Get Reddit's feed directly into your Discord Server's

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages