GithubHelp home page GithubHelp logo

daemonf0rge / carim-discord-bot-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schana/carim-discord-bot-heroku

0.0 0.0 0.0 37 KB

Heroku deployment for https://github.com/schana/carim-discord-bot

License: Apache License 2.0

carim-discord-bot-heroku's Introduction

carim-discord-bot-heroku

This repo is for deploying the Carim Discord Bot using Heroku

Steps for initial setup

  1. Set up a free Heroku account
  2. Follow Heroku set up instructions
  3. Clone this repository
    • git clone https://github.com/schana/carim-discord-bot-heroku.git
    • cd carim-discord-bot-heroku
  4. Configure the bot
  5. Commit your changes
    • git add -A
    • git commit -m "Added my configuration"
  6. Create the Heroku app
    • heroku create
    • git push heroku master
    • heroku ps:scale worker=1
  7. You can check the logs to make sure everything is running properly
    • heroku logs

Steps to update configuration

  1. Make your changes
  2. Commit your changes
    • git add -A
    • git commit -m "Updated my configuration"
  3. Update Heroku app
    • git push heroku master

Steps to update carim-discord-bot

  1. Edit requirements.txt
  2. Replace carim-discord-bot with carim-discord-bot=={version}, where {version} is the version you want
    • carim-discord-bot==2.0.0
  3. Commit your changes
    • git add -A
    • git commit -m "Updated bot version"
  4. Update Heroku app
    • git push heroku master

Configuration

For additional help, visit the Carim Discord at https://discord.gg/kdPnVu4

  1. 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"
  2. 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"

carim-discord-bot-heroku's People

Contributors

nschaaf avatar schana avatar win365ru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.