Discord Bot for GitHub issues!
- Clone this repository.
- Install the dependencies by running
npm install
. - Edit the
config.json
file in the root directory with the following structure:
{
"discordToken": "YOUR_DISCORD_BOT_TOKEN",
"channelID": "YOUR_CHANNEL_ID",
"githubToken": "YOUR_GITHUB_TOKEN",
"repositories": [
{
"owner": "owner1",
"repo": "repo1"
},
{
"owner": "owner2",
"repo": "repo2"
}
]
}
Replace "your-discord-bot-token"
, "your-github-token"
, "discord-channel-id"
, "github-username"
, and "repository-name"
with your actual Discord bot token, GitHub token, the ID of the Discord channel where you want to send the embeds, your GitHub username, and the name of the repository you want to track, respectively.
You can add as many repositories as needed!
- Start the bot by running
node bot.js
.
This bot can be hosted locally or on the cloud. If you want to host it on the cloud, you can use a service like Heroku.
This project is licensed under the terms of the MIT License.