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.
-
npm
npm install npm@latest -g
-
Docker ( Optional )
-
Python 3.6.5+
- Docker
docker-compose up --build
- Manual
- Clone the repo
- Change setting files. (/reddit_dashboard/settings.py)
- Run
- (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
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 .
Distributed under the MIT License. See LICENSE
for more information.