Blockchain transaction banking career
28 commentsBest zeny maker ragnarok botha
While Github is all the rage, BitBucket is still a popular alternative for code repositories. A gamedev buddy RedVonix has been working on an upcoming title, and wanted to automate BitBucket commit notifications to his Discord chat. This is built into Discord and Slack if you're using GitHub, but Bitbucket took a little extra finagling.
You'll need your own server running NodeJS in order to receive and pass on the messages. The source can be found on my GitHub page. Navigate to the channel of the Discord server you would like BitBot to post messages in. Click the gear icon next to the channel name. You will need admin privileges on the server to configure webhooks and use BitBot.
In the channel settings window, click 'Webhooks' on the left hand side of the screen. Enter a bot name, confirm the channel, and optionally upload an icon. Copy the Webhook URL, and click save. Navigate to the channel of the Slack server you would like BitBot to post messages in. Click the gear icon on the top of the page. Select 'Add an app' from the dropdown menu.
Your Slack channel's app manager will appear in a new browser window. Click 'Manage' in the top right of the browser window. Select 'Custom Integrations' from the left side of the page.
Choose 'Incoming Webhooks', and then 'Add Configuration'. Slack will ask you which channel you would like the bot to post into. Click 'Add Incoming Webhook Integration'. On the next page, you can configure your bot further. Copy the Webhook URL. Clone this repository to an empty public folder or subdomain on a server running Node. Set the name to whatever you would like BitBot's display name in the chat to be.
Choose a port, and paste in at least one Webhook URL from the previous steps. BitBot can post to both Discord and Slack, or just one of these services. If you are not using a service, just leave the single quotes blank.
Run an npm init command to download the required npm packages. Run npm start to begin running BitBot. Finally, browse to your BitBucket repository. Click the 'Settings' option and choose 'Webhooks' from the settings menu.
Make sure 'Active' is checked. Check the 'Skip certificate verification' checkbox if your server is not running SSL.
Make sure 'Triggers' is set to 'Repository push'. Stuart Jones Home Projects. Configure BitBot Clone this repository to an empty public folder or subdomain on a server running Node. Build and Run BitBot Run an npm init command to download the required npm packages. Congratulations, BitBot should now be up and running.