/reddit_dashboard

Follow your subreddits from discord text-channel.

Primary LanguageJavaScriptMIT LicenseMIT

Reddit Discord BOT

What is that ?

This is an discord bot that you can easily manage with react web application. Add bot to your discord, follow subreddits and let the celery-worker do his job. You can easily modify /reddit_dashboard/tasks.py to change task schedule.

Built With

Frontend
Backend

Getting Started

Prerequisites

  • npm

    npm install npm@latest -g
    
  • Docker ( Optional )

  • Python 3.6.5+

Installation

  • Docker
docker-compose up --build
  • Manual
  1. Clone the repo
  2. Change setting files. (/reddit_dashboard/settings.py)
  3. Run
  4. (Optional) Change
pip install virtualenv --user
virtualenv venv
venv\Scripts\activate
cd frontend
yarn build
cd ..
pip install -r requirements.txt
python manage.py collectstatic 
python manage.py runserver 
python manage.py run_bot 
celery -A reddit_dashboard beat -l info 
celery -A reddit_dashboard worker -l info

Usage

How to use ?

1 - Login with redirect link

2 - Click Add New Server button to add new discord servers.

3 - And let the bot get your text-channels.

4 - Click follow subreddit dropdown and add subreddit to this text channel . (Also you can search if you have many subreddits)

5 - EXAMPLE

6 - Click Subreddits and you can see your subreddits list (stack) .

7 - You can search and add any subreddit to your subreddits stack from here .

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements