https://github.com/trypsynth/teamtalk-to-discord-webhook
Simple Discord webhook to dispatch TeamTalk events to a particular channel.
https://github.com/trypsynth/teamtalk-to-discord-webhook
Last synced: 4 months ago
JSON representation
Simple Discord webhook to dispatch TeamTalk events to a particular channel.
- Host: GitHub
- URL: https://github.com/trypsynth/teamtalk-to-discord-webhook
- Owner: trypsynth
- License: mit
- Created: 2023-01-28T18:07:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-09T21:34:17.000Z (almost 3 years ago)
- Last Synced: 2025-10-13T09:44:21.501Z (8 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TeamTalk to Discord Webhook
This is an extremely simple Discord webhook that dispatches TeamTalk events to a particular channel.
## Usage.
1. Create a webhook.
1. Find the channel you want the events to be sent to.
1. Right click on it and find "Edit Channel".
1. Find the "Integrations" tab.
1. Click on "Webhooks", then "New Webhook".
1. Give it a name (this is what will display in the channel whenever it sends a message), and make sure you have the URL coppied.
1. Click save.
1. Edit the config file with all the correct info.
1. **Important**: Do not surround these values with quotes!
1. Create a virtual environment, and activate it.
1. `python -m venv env`
1. env\scripts\activate
1. Install the requirements.
1. `pip install -r requirements.txt`
1. Run the hook.
1. `python hook.py`
## Supported events.
The following events are currently supported. Many more can be added upon request, but these are the most common ones that I think basically everyone wants.
* User logged in.
* User joined channel
* Channel message sent.
* User left channel.
* User logged out.
## Todo.
* Make supported events customizable.
* Maybe have a section in the config file, and a boolean for all the event types.
* Proper error handling.