https://github.com/mathiaskandelborg/twitch-discord-bot
Bot for handling Twitch and Discord events
https://github.com/mathiaskandelborg/twitch-discord-bot
Last synced: 11 months ago
JSON representation
Bot for handling Twitch and Discord events
- Host: GitHub
- URL: https://github.com/mathiaskandelborg/twitch-discord-bot
- Owner: MathiasKandelborg
- License: mit
- Created: 2020-11-08T02:04:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-23T22:29:39.000Z (over 5 years ago)
- Last Synced: 2025-06-13T14:09:38.606Z (12 months ago)
- Language: Rust
- Size: 139 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TD BOT
A work-in-progress bot
## Features
- Native notifications with images
- Run commands on the computer
## APIs in use
- Twitch Web sockets
- _to be implemented_ - Discord
## Instructions
1. Create Discord application
2. Authorize application [at this link](https://discord.com/oauth2/authorize?client_id=&scope=bot&permissions=8) `` & changing permissions to what you want/need
The app uses configuration files:
- settings
- commands
It also reads sensitive settings from ENV.
| Key | Value | Description |
| --- | --- | --- |
| T_AUTH_TOKEN | Token from https://twitchapps.com/tmi/ | Chat token, user who redeemed is the username |
| T_OAUTH_TOKEN | Token from https://twitchapps.com/tokengen/ | Generated with developer app id and scopes |
| T_CHANNEL_ID | The _unique_ channel/user ID | Found with the twitch API |
It supports several file formats (TBA)
The settings should be provided as key/value pairs
# Licensing
See LICENSE