Skip to content

Github Intergration and !verison command#160

Closed
brennondenny wants to merge 2 commits intoRelease2from
r2-feature-verison
Closed

Github Intergration and !verison command#160
brennondenny wants to merge 2 commits intoRelease2from
r2-feature-verison

Conversation

@brennondenny
Copy link
Contributor

This feature alone adds the !version command to display the current version of Max Bot in a text channel. This part of the functionality is done by reading the current version number in the codebase.

Along with the new command, I figured out to get Discord's integrated GitHub Bot to join the server and send live updates from the repository. Since I learned adding this feature to Max Bot is outside the scope, the following is a guide on how to get the GitHub Bot Working on your test server.

  1. Fork Max-Bot so you have access to Github's Webhooks
  2. Open your Discord server settings and navigate to the "Webhooks" tab.
  3. Create a new Webhook and select the #textchannel you want the bot to post in.
  4. Navigate to your forked Max-Bot Repo, go into settings and add a Webhook.
  5. Copy the Webhook URL from Discord and use it as the PayLoad URL with the following format: DISCORD_WEBHOOOK_URL/github
  6. Select what events you want the bot to get trigged on (Releases, Tags, Commits, etc..).
  7. Trigger a seleted event and check the selected text channel in Discord.

If you are unable to get the Github Integration working properally please tell me in the reviews and I'll try and help with your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants