beerchat_proxy/readme.md

33 lines
465 B
Markdown
Raw Normal View History

2019-08-08 10:22:21 +02:00
2019-08-08 11:03:28 +02:00
## Compile deps
2019-08-08 10:22:21 +02:00
```
apt install libicu-dev
2019-08-08 11:03:28 +02:00
```
## Local Testing
```
curl -X POST \
-H "Content-Type: application/json" \
-d '{"channel":"main","playername":"somedude","message":"rant about lag!"}' \
2019-10-13 20:42:59 +02:00
http://127.0.0.1:8080/
```
2019-12-10 08:12:30 +01:00
## Configuration
beerchat.json
```json
{
"host": "chat.freenode.net",
"username": "pandorabot",
"password": "abcd",
"channels": {
"main": "pandorabox",
"de": "pandorabox-de",
"mod": "pandorabox-mod"
}
}
```