Cord is a modular Discord bot skelleton which you can easily deploy and extend to your needs.
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.
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.
- Ruby 2.6+
- Same requirements as Discordrb
- Rename/duplicate the
.env.example
to.env
and add all your keys there.
$ bundle exec puma -C config/puma.rb
# or
$ bundle exec rackup
- Fork it
- Change it
- Push it
- Create the PR
- Ping me :D