This repo is for deploying the Carim Discord Bot using Heroku
- Set up a free Heroku account
- Follow Heroku set up instructions
- Clone this repository
git clone https://github.com/schana/carim-discord-bot-heroku.git
cd carim-discord-bot-heroku
- Configure the bot
- Commit your changes
git add -A
git commit -m "Added my configuration"
- Create the Heroku app
heroku create
git push heroku master
heroku ps:scale worker=1
- You can check the logs to make sure everything is running properly
heroku logs
- Make your changes
- Commit your changes
git add -A
git commit -m "Updated my configuration"
- Update Heroku app
git push heroku master
- Edit
requirements.txt
- Replace
carim-discord-bot
withcarim-discord-bot=={version}
, where{version}
is the version you wantcarim-discord-bot==2.0.0
- Commit your changes
git add -A
git commit -m "Updated bot version"
- Update Heroku app
git push heroku master
For additional help, visit the Carim Discord at https://discord.gg/kdPnVu4
-
Create bot account
- Follow the guide at https://discordpy.readthedocs.io/en/v1.3.3/discord.html
- Save the token for later
- In step 6 under "Creating a Bot Account", make sure "Public Bot" is unticked
- Under "Inviting Your Bot", step 6 has you setup the permissions for the bot
- Currently, the bot needs "Manage Channels", "View Channels", "Send Messages", and "Embed Links"
-
Update configuration
-
Edit config.json with your values following the descriptions here
-
To get Discord Channel IDs, you need to enable developer mode in the app:
- Settings -> Appearance -> Advanced -> Developer Mode
-
Then, you will be able to right click on a Channel and select "Copy ID"
-