https://github.com/rojosinalma/cord
Cord is a modular discord bot that can be easily deployed to Heroku or your own server.
https://github.com/rojosinalma/cord
bot discord discord-api discord-bot gem heroku ruby sinatra
Last synced: 3 months ago
JSON representation
Cord is a modular discord bot that can be easily deployed to Heroku or your own server.
- Host: GitHub
- URL: https://github.com/rojosinalma/cord
- Owner: rojosinalma
- License: unlicense
- Created: 2018-03-23T19:41:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T05:29:04.000Z (over 2 years ago)
- Last Synced: 2025-07-03T07:55:28.384Z (3 months ago)
- Topics: bot, discord, discord-api, discord-bot, gem, heroku, ruby, sinatra
- Language: Ruby
- Homepage:
- Size: 165 KB
- Stars: 18
- Watchers: 0
- Forks: 15
- Open Issues: 15
-
Metadata Files:
- Readme: .github/README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Cord
--[](https://heroku.com/deploy?template=https://github.com/rojosinalma/cord/tree/master)
[](https://codeclimate.com/github/rojosinalma/cord/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:
* Ruby 2.6+
* Same requirements as [Discordrb](https://github.com/meew0/discordrb)## Configuration:
- Rename/duplicate the `.env.example` to `.env` and add all your keys there.
## Usage:
```bash
$ 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