Skip to content

This a discord bot which tracks the Github Repository. It is built using Node.js, Github REST API, Discord.js API.

Notifications You must be signed in to change notification settings

devanshkansagra/Github-Bot

Repository files navigation

Github-Bot

2024-08-16.22-17-20.mp4

This a discord bot which tracks the Github Repository. It is built using Node.js, Github REST API, Discord.js API.

Functions of this bot

  • Track / Untrack the Github Repository
  • Notifies Discord Server Members regarding the New Commits Merged, New Pull Requests, New Issue Raised, Notifies Latest Releases.
  • Fetch the details like issues, PR's, Commits
  • Creates an issue in GitHub

Commands for interaction

  • /authorize Authorize the Github account.
  • /track Tracks the GitHub Repository.
  • /commits Fetches the overall commits of the repository.
  • /pulls Fetches overall pull requests of the repository.
  • /issues Fetches overall the issues of the repository.
  • /issue Creates an issue in GitHub repository.
  • /untrack Untracks the GitHub repository.

Prerequisites

  • Nodejs (stable version)
  • MongoDB

Installation

Setup of this bot to your Discord Server for development

Contents of .env file

  • RESET_TOKEN (get it from discord developer portal)
  • CLIENT_ID (get it from discord developer portal)
  • DATABASE (mongodb atlas database link)
  • GUILD_ID (discord server Guild ID)

Contribution Guidlines

  1. Fork this project

  2. Clone your Fork

  3. Create a branch

  4. Make changes

  5. Push the changes to that branch

  6. Create a pull request

About

This a discord bot which tracks the Github Repository. It is built using Node.js, Github REST API, Discord.js API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published