DRG Deep Dive is a Discord bot that retrieves information from Reddit to show you what are this week's Deep Dive and Elite Deep Dive missions.
Install bot on server and call it with /deep-dive-info
.
If you want to play around, also check /drg-rand-build
!
For testing and development, you need to create a new bot to be used for testing. Check this page for information on how to do this.
Hint: Create a test server on discord where you can add the bot and test it.
You'll also need a token for Reddit's API. For this, head to Reddit's preferences, click Create App
, give it a name, set type to script
, and redirect uri as http://www.example.com/unused/redirect/uri
. Click Create App
and copy the Client ID (below the app name), and secret.
All the tokens from the previous steps will be included in the .env file.
- Fork and clone this repository
- Install the dependencies in
requirements.txt
in your python environment - Create a .env file in the root directory with:
REDDIT_CLIENT_ID=<REDDIT CLIENT ID>
REDDIT_SECRET=<REDDIT SECRET>
TOKEN=<DISCORD BOT TOKEN>
- Run
python main.py
- You can use the command
/deep-dive-raw
to retrieve the thread without parsing.
All the information is taken from Reddit r/DeepRockGalactic.