<commit_before># GobanSlack

GobanSlack is a Slack integration for [Goban](http://goban.co/), a web app that allows you to edit Go boards online and share it with friends.

## Installation

First of all, deploy this app to Heroku:

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

Once the app is deployed, add the **Slash Commands** integration on your Slack team and configure it as follows:

* Command: the command name you want to use to create a new Go game. The recommended command name to use is `/goban`.
* URL: should point to the `/boards` endpoint on the URL of your deployed Heroku app.
* Method: leave it as "POST".

Copy the `Token` value and use it as the value of the `SLACK_TOKEN` variable on your Heroku app's environment.

Finally, add the Incoming WebHooks integration on your Slack team. This is needed so that GobanSlack can post messages to your Slack team's channels.

Copy the `WebHook URL` value and use it as the value of the `SLACK_URL` variable on your Heroku app's environment.

That's it!

## Using it

Write `/goban` in any Slack channel and GobanSlack will create an empty Go board at [Goban](http://goban.co) and will post the link to the new board in the same channel so that anyone on that channel can see the board and/or play.

## Credits<commit_msg>Document usage of board size parameter<commit_after># GobanSlack

GobanSlack is a Slack integration for [Goban](http://goban.co/), a web app that allows you to edit Go boards online and share it with friends.

## Installation

First of all, deploy this app to Heroku:

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

Once the app is deployed, add the **Slash Commands** integration on your Slack team and configure it as follows:

* Command: the command name you want to use to create a new Go game. The recommended command name to use is `/goban`.
* URL: should point to the `/boards` endpoint on the URL of your deployed Heroku app.
* Method: leave it as "POST".

Copy the `Token` value and use it as the value of the `SLACK_TOKEN` variable on your Heroku app's environment.

Finally, add the Incoming WebHooks integration on your Slack team. This is needed so that GobanSlack can post messages to your Slack team's channels.

Copy the `WebHook URL` value and use it as the value of the `SLACK_URL` variable on your Heroku app's environment.

That's it!

## Using it

Write `/goban` in any Slack channel and GobanSlack will create an empty Go board at [Goban](http://goban.co) and will post the link to the new board in the same channel so that anyone on that channel can see the board and/or play.

Optionally, you can pass the board size as the first argument of the `/goban` command, as in `/goban 9` or `/goban 13`. If the board size is not specified, a standard 19x19 board will be created.

## Credits
{'fraction_non_alphanumeric': 0.07456445993031359, 'fraction_numerical': 0.0024390243902439024, 'mean_word_length': 4.145161290322581, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6211373', 'n_tokens_mistral': 868, 'n_tokens_neox': 839, 'n_words': 450}