Once the entire deploy operation has completed, refresh the page. Once you've connected your fork, scroll down to manual deploy and deploy the master branch. Connect the repo named `yourusername/MonitoRSS-Clone`. Search for the repo by typing MonitoRSS then pressing Search. Then go to the Deploy tab, select GitHub and connect your account. `DRSSWEB_DATABASE_REDIS` - the password and endpoint details from your redislabs account? Add them in the format given above.įork the () by clicking the Fork button at the top right of the page. `DRSSWEB_DATABASE_URI` - Same as `DRSS_DATABASE_URI` `DRSSWEB_BOT_CLIENTSECRET` - Your Discord application Client Secret, found in developer portal. `DRSSWEB_BOT_CLIENTID` - Your Discord application Client ID, found in developer portal. If you don't do this, you will get an error when logging into the web portal. You will also need to add the above URL under OAuth2 redirect settings in the Discord Developer Portal. `DRSSWEB_BOT_REDIRECTURI` - (replace herokuappname with the name you set your Heroku app) `DRSSWEB_BOT_TOKEN` - Same as `DRSS_BOT_TOKEN` **If you want to enable the web dashboard you will have to add the below config vars.** `DRSS_FEEDS_TIMEZONE` - Set the bot's default timezone. ![]() I suggest 15 mins, some websites may have a rate limit if it's set to a faster interval `DRSS_FEEDS_REFRESHRATEMINUTES` - Set an interval (in minutes) how often you want the bot to check for new content. `DRSS_DATABASE_URI` - Your MongoDB connection string (replace `` with your MongoDB password you created earlier and also replace `` with `test`) `DRSS_BOT_TOKEN` - Your bot token from Discord developer portal. `DRSS_BOT_PREFIX` - Type the prefix you want to use for commands `DRSS_BOT_OWNERIDS` - Your Discord User ID (check () if you're unsure) At the end of the endpoint also includes the port number. Take note of the endpoint, you will need it later. On the screen you see after this, you will find your connection details. On the next screen, ensure the protocol is set to Redis, and that Redis password is enabled (you will need the password later). Select Essentials, and then the Standard 30 MB free option. Once you have logged in, click the Create your subscription button. If you are not going to use the web dashboard you can skip this.**įirst, create an account at. **You need to do this if you want the web dashboard. Next, you will need to set up your free redislabs account. Set up Redis database (required for web dashboard)** You will need the connection string later on in this tutorial. Select Connect Your Application, set Driver to Node.js and Version 3.6 or later. Click Confirm.Īfter your cluster is ready click Connect found in the Overview screen. Next you want to go to Network Access, add IP and select Allow Access from Anywhere. Choose a username and a password (you will need the password later), check that the User Privileges are set to "Read and Write to any database" and press Add User. During this time go to the Database Access located at the left, press Add New Database User. Your cluster will take a few minutes to get ready. Make sure the Cluster Tier is M0 and press Create Cluster. Select Shared Clusters, then choose a server region (I suggest on AWS). Once you're logged in follow the instructions to create a cluster. Go to and create an account if you don't already have one. Use one of the below URLs replacing the `INSERTHERE` with the Client ID from the Discord developer portal to invite the bot to your server. ![]() **Do not share this token with anyone else!!!!** On that same page you will find your Token. _If you don't want others to be able to add your bot turn off the Public Bot setting._ This is what your bot will look like in Discord. Then go to the Bot tab, select Add Bot, confirm then name your bot and upload an avatar. Go to, create a new application and name it. **This guide is based on v6 and the information/screenshots are accurate at the time of this writing.** So if you want the bot to run 24/7 you will need to verify with your credit card to increase your hours to 1000, enough to run the bot for a whole month provided you don't have any other applications running on your Heroku account. Do note that Heroku gives you 550 free hours every month if you don't verify with a credit card. So if you want to try out the bot and see if you like it for example you can follow this guide. The deploy button method would require you to verify your Heroku account using your credit card despite it being free. This tutorial wi … ll guide you through deploying MonitoRSS (previously called Discord.RSS) on Heroku manually (without using the deploy button). **HEROKU IS ENDING THEIR FREE SERVICES ON NOVEMBER 28 2022**
0 Comments
Leave a Reply. |