Giter Site home page Giter Site logo

github-bot-info's Introduction

GitHub Updates

  • Displays notifications in your Discord channels when selected events are triggered.
  • Can utilise GitHub Webhook "secrets" to secure your updates for private or public repositories.

Setup

  1. Add a webhook to your repository pointing to https://github.dbots.site. Select any events you would like to listen for.

    To add a webhook, visit your repository on github.com, click the settings tab, then webhooks.

  2. Set the content type to application/json.
  3. Authorise the bot on your server by clicking this link.
  4. Once the bot is active on your Discord server, you can use the slash commands listed below.

About secrets

You can specify a secret value when subscribing to receive webhook events. Keep in mind this secret will be stored in plain text on a server somewhere.

Don't just enter your "default password" as the secret, use some random value, unrelated text, or best of all: a hashed value.

If anyone guesses your secret, they can also subscribe to your webhook events!


Usage

Commands all start with / and will give you tool-tips if you start typing in Discord.

Command Description
/sub <org> <name> [secret] [previews] Subscribe the current channel to the repo webhook events. Optionally takes a secret. Optionally enable link previews.
/unsub <org> <name> Unsubscribe the current channel from the repo webhook events.
/help View the bots Help Command
/invite Get a Link to Invite the Bot

Previews will not display if your repo is set to private.


Samples

Sample 1 Sample 2

github-bot-info's People

Contributors

therealtoxicdev avatar

Stargazers

Mizchiev Dev avatar  avatar DevMirza avatar

Watchers

Mizchiev Dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.