fatalis / discord-bot-github

A bot for discord which consumes the GitHub API and gives you updates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status codecov

discord-bot-github

A GitHub bot for Discord

This new version is an authorized Discord bot.

Setup

  1. Add a webhook to your repository pointing to https://discordbotgithub.herokuapp.com. Select any events you would like to listen for.
  • To add a webhook, go to your repository on GitHub.
  • Click the settings tab.
  • Click Webhooks & services on the left.
  • Click the Add Webhook button.
  • Add the above URL to the payload URL box.
  1. Authorize the bot on your server by clicking this link.
  2. Once the bot is added to your server, you can interact with it using the commands listed below.

Usage

Commands for this bot follow this structure: !dbg <command> [argument].

Command Description
!dbg add organization/repository Subscribes this channel to the given repository.
!dbg remove organization/repository Removes this channel's subscription to the given repository.
!dbg help Displays usage instructions.

Caveats

There is currently no method of preventing unauthorized people from viewing your updates. I assume that is what Webhook secrets are for. I will be implementing this in a later update.

About

A bot for discord which consumes the GitHub API and gives you updates.

License:MIT License


Languages

Language:JavaScript 54.8%Language:TypeScript 45.2%