Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lon9/ts3-slack-bot
Slack bot for Team Speak 3
https://github.com/lon9/ts3-slack-bot
slack teamspeak3
Last synced: 17 days ago
JSON representation
Slack bot for Team Speak 3
- Host: GitHub
- URL: https://github.com/lon9/ts3-slack-bot
- Owner: lon9
- License: bsd-3-clause
- Created: 2016-06-22T05:06:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T02:07:51.000Z (almost 8 years ago)
- Last Synced: 2024-12-01T04:14:42.892Z (3 months ago)
- Topics: slack, teamspeak3
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ts3-slack-bot
ts3-slack-bot detects logging to Team Speak server and posts it to slack, incoming webhook.
# Usage
```bash
Usage of ./ts3-slack-bot:
-d Debug
-id string
Server ID
-o string
Output file (default "clients.json")
-p string
TS3 server query password
-u string
TS3 server query username
-url string
WebHookURL
```1. Get the source code and build it.
```bash
go get github.com/Rompei/ts3-slack-bot
cd $GOPATH/src/github.com/Rompei/ts3-slack-bot
go build
```2. Set the software with cron. In this example, it runs every five minutes.
```bash
*/5 * * * * ts3-slack-bot [OPTIONS]
```3. First time, it gets client information from team speak server with server query and stores it.
4. Next time, it gets client information and compares with old one, then posts client statuses to Slack. In this example, it will post 5 minutes later of first step.
# Features
- If people enter the server, it will notify it within from 5 to 10 minutes
- If people leave the server, it will notify it.
- If people change channels, it will notify it.# Used libraries
[Darfk/ts3](https://github.com/Darfk/ts3)
# License
[BSD-3](https://opensource.org/licenses/BSD-3-Clause)