Skip to content

This bot will post a message to Discord, anytime an update is added on git.

Notifications You must be signed in to change notification settings

ryanmurray89/Discord-GIT-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Discord Notify for GitHub


By: Ryan Murray - JustNFTs
Created: 03/27/2023
Last Edit: 03/27/2023
Version: 1.01

Description

The bot will check for updates to the specified repository every 5 minutes and send a notification to the specified Discord channel if there are any updates.

Requirements

- Node.js
- Discord.js
- @octokit/rest

Install

npm install discord.js @octokit/rest

Upload

botname.js to your server.

Replace

- GITHUB_REPO with your GitHub repository in the format owner/repo.
- DISCORD_CHANNEL_ID with the ID of the Discord channel where you want the bot to send notifications.
- DISCORD_BOT_TOKEN with the token of your Discord bot.

Notes:

- This assumes you know how to setup a discord bot, and install basic supporting applications. If you need assistance, you can visit our Discord and we will attempt to assist you with the installation.
- This will NOT work with private repos. We will be releasing an updated version later for private repos.

Discord:

About

This bot will post a message to Discord, anytime an update is added on git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published