Skip to content

Cord is a modular discord bot that can be easily deployed to Heroku or your own server.

License

Notifications You must be signed in to change notification settings

rojosinalma/cord

Repository files navigation

Cord

Deploy Maintainability

What is this?

Cord is a modular Discord bot skelleton which you can easily deploy and extend to your needs.

Why?

Discordrb is currently very powerful, but doesn't provide with basic structure and tools to do efficient deployments to either Heroku or other cloud services.

This project uses Discordrb for all things Discord and Sinatra to have a web panel where you can configure some settings.

Sinatra is not completely necessary, but if you want to deploy to Heroku (or some other cloud service that requires you to bind to a port), you'll need it. It's also a nice option in case you wanna interact with your bot from outside discord through webhooks.

How?

You deploy the bot and extend it with your own commands or events. I assume you know how to code in Ruby and you've done your homework with Discordrb.

Dependencies:

Configuration:

  • Rename/duplicate the .env.example to .env and add all your keys there.

Usage:

  $ bundle exec puma -C config/puma.rb 
  # or 
  $ bundle exec rackup 

Contribute

  1. Fork it
  2. Change it
  3. Push it
  4. Create the PR
  5. Ping me :D