Skip to content

okisooo/discord-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-issues

Discord Bot for GitHub issues!

Setup

  1. Clone this repository.
  2. Install the dependencies by running npm install.
  3. 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!

  1. Start the bot by running node bot.js.

Hosting

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.

License

This project is licensed under the terms of the MIT License.