Skip to content

vinibgoulart/discord-bot-github-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Discord Bot Github Notifications 🤖

Get your github notifications by a discord bot

Use it in a channel by setting an environment variable with a personal token, or use it privately in your DM

How To Run

Requirements

  • Have a discord bot with the following Privileged Gateway Intents: PRESENCE INTENT, SERVER MEMBERS INTENT, MESSAGE CONTENT INTENT
  • Have a personal access token in Github with the following permissions: notifications

Clone this repository, go into and install dependencies

git clone https://github.com/vinibgoulart/discord-bot-github-notifications
cd discord-bot-github-notifications
yarn

Create .env based on .env.example variables

DISCORD_BOT_TOKEN=
DISCORD_CLIENT_ID=
DISCORD_GUILD_ID=
GITHUB_PERSONAL_ACCESS_TOKEN=

Add the bot in your discord Chanel

Deploy the commands

yarn deploy

Start the bot

Open a new bash and start the bot

yarn start

How to use

Chanel

Commands in a chanel

  • /notifications: fetch all github .env account notifications
  • /ping: just a ping 🙂

DM

Commands in a private

  • /notifications: send your personal access token and to fetch your notifications

About

🤖 Discord bot to see your github notifications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published