Skip to content

Lisiano256/discord-bot-github

 
 

Repository files navigation

POGODEV

discord-bot-github

Build Status Code Climate Issue Count license

Table of Contents

What is it?

discord-bot-github is an open source bot for sending GitHub Webhooks to Discord. You can then relay this information by binding it to a specific channel. We are tailoring this bot to output messages in a more clean fashion.

Installation

  1. npm install
  2. node bot.js
  3. Remember to create a webhook and set the Payload URL to http://YOURIP:8080/webhook with application/json

Documentation

Pre-requisites

1. eris
2. forky
3. github-webhook-handler
4. http
5. eslint
6. foreman

Configuration (config/auth.js)

Configuration Description
config.discord.token Discord Bot Token. You can find out more here.
config.discord.channel_id Input the Discord channel ID that you want to bind the bot to.
config.github.token Input the GitHub Webhook Secret/Token that you created.
config.web.cname Don't Touch Me Please. Only if you have to.
config.web.url Don't Touch Me Please. Only if you have to.
config.web.workers Don't Touch Me Please. Only if you have to.
config.web.path Don't Touch Me Please. Only if you have to.

Licensing

GNU GPL v3.

Third Party Licenses

None

Contributing

Currently, you can contribute to this project by:

Core Maintainers

Misc Maintainers

Credits

github-webhook-handler
eris `NodeJS Discord Wrapper`
nandun (Base Code)

About

A discord Github bot for use with PogoDev's discord server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%