A bot designed to provide links to issues & pull requests mentioned in your Discord server. Powered by discordrb.
This is currently a private bot. You will need to create and run your own Discord app to add it to your server.
- Create a new Discord app
- Create a Bot user
- Insert your client ID into the following URL:
https://discordapp.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=67584
- Follow the URL to add the bot to your server (requires the Manage Server permission)
git clone https://github.com/mattantonelli/github-issues-bot
cd github-issues-bot
bundle install
- Set up the configuration file
cp config/config.yml.example config/config.yml
- Updated the example values appropriately
bundle exec ruby run.rb
This bot requires the following permissions:
- Read Text Channels & See Voice Channels
- Send Messages
- Read Message History
This bot is set up for Capistrano deployment. The deployment strategy is dependent on rbenv
and screen
. You can configure it to deploy to your own server by updating config/deploy.rb
and config/deploy/production.rb
appropriately.
To look up an issue or pull request, just reference the issue # with the prefix GH#
. For example:
Did you see GH#422?
The bot will then look up the URL configured for your server and use it to look up the issue/pull request.