{"action":"published","release":{"url":"https://api.github.com/repos/SpriteMidr/Katherine/releases/7286251","assets_url":"https://api.github.com/repos/SpriteMidr/Katherine/releases/7286251/assets","upload_url":"https://uploads.github.com/repos/SpriteMidr/Katherine/releases/7286251/assets{?name,label}","html_url":"https://github.com/SpriteMidr/Katherine/releases/tag/2.1.0-alpha","id":7286251,"tag_name":"2.1.0-alpha","target_commitish":"master","name":"Kat (Pythonic Release)","draft":false,"author":{"login":"SpriteMidr","id":14885638,"avatar_url":"https://avatars0.githubusercontent.com/u/14885638?v=4","gravatar_id":"","url":"https://api.github.com/users/SpriteMidr","html_url":"https://github.com/SpriteMidr","followers_url":"https://api.github.com/users/SpriteMidr/followers","following_url":"https://api.github.com/users/SpriteMidr/following{/other_user}","gists_url":"https://api.github.com/users/SpriteMidr/gists{/gist_id}","starred_url":"https://api.github.com/users/SpriteMidr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpriteMidr/subscriptions","organizations_url":"https://api.github.com/users/SpriteMidr/orgs","repos_url":"https://api.github.com/users/SpriteMidr/repos","events_url":"https://api.github.com/users/SpriteMidr/events{/privacy}","received_events_url":"https://api.github.com/users/SpriteMidr/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2017-08-04T14:46:01Z","published_at":"2017-08-04T14:48:46Z","assets":[],"tarball_url":"https://api.github.com/repos/SpriteMidr/Katherine/tarball/2.1.0-alpha","zipball_url":"https://api.github.com/repos/SpriteMidr/Katherine/zipball/2.1.0-alpha","body":"# Katherine V2\r\n## Prerequisite packages\r\n\r\n- The `python3.5` and `pip3-python` packages are required to be installed.\r\n  You should probably consider upgrading `pip` to the latest version if not\r\n  already. You can do this by running `python3 -m pip install --upgrade pip`.\r\n  On a Raspberry Pi you may have to remove Python3.4, ensure the SSL lib is\r\n  installed and then run the following commands to get Python installed:\r\n  \r\n```bash\r\ncd ~\r\nwget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz\r\ntar -zxvf Python-3.5.1.tgz\r\ncd Python-3.5.1\r\n./configure && make && sudo make install\r\n```\r\n\r\n- [The `discord.py` module](https://github.com/Rapptz/discord.py). This can be \r\n  installed by running `python3 -m pip install -U discord.py`\r\n\r\n## Setup\r\n\r\nIn the root directory of the repository, make a directory called `config`.\r\n\r\nIn this configuration directory, you will want to provide a file called\r\n`settings.json`. This should consist of a root object with the following members\r\ninside:\r\n\r\n| Key       | Value Type | Value Description                                   |\r\n|:----------|:-----------|:---------------------------------------------------:|\r\n| `token`   | String     | Holds the token to use when authenticating with Discord |\r\n| `commanders` | Array of Strings | Holds a string representing each user ID that is allowed to control what the bot says. |\r\n| `talk_back_prefix` | String | The prefix (case insensitive) to look for when taking a message from a commander to specify some text to echo out as the bot user itself. |\r\n\r\nFor example\r\n\r\n```json\r\n{\r\n  \"token\": \"123456789abcdef\",\r\n  \"commanders\": [\r\n    \"123456789\",\r\n    \"987654321\"\r\n  ],\r\n  \"talk_back_prefix\": \"Kat:\"\r\n}\r\n```\r\n\r\n## Running Kat at startup and restarting on failure\r\n\r\n> Note: this is only for Systemd. If you choose to use\r\n> something else, you are on your own. Don't expect\r\n> me to write instructions!\r\n\r\nTo ensure that Kat runs on boot, and restarts on failure,\r\nedit the `katherine.service` file to point to the right\r\nlocation for the `run.sh` script. Then, make the\r\ndirectory `/etc/systemd/service` and place a copy\r\ninside of that.\r\n\r\nTo set the service up, run\r\n\r\n```bash\r\nsudo systemctl daemon-reload\r\nsudo systemctl enablee katherine.service\r\nsudo systemctl start katherine.service\r\n```\r\n"}}
{"actor":{"display_login":"SpriteMidr"}}