Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resloved/tchat
🎮 — Twitch Chat Utils.
https://github.com/resloved/tchat
Last synced: 2 months ago
JSON representation
🎮 — Twitch Chat Utils.
- Host: GitHub
- URL: https://github.com/resloved/tchat
- Owner: resloved
- Created: 2019-03-01T05:01:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T04:45:29.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T19:54:53.444Z (5 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - resloved/tchat - 🎮 — Twitch Chat Utils. (Python)
README
# tchat
## Commands
### trecv
```bash
trecv channel
```### tsend
```bash
tsend channel username message
```## Usage
```bash
# Logging
trecv channel >> channel-logs.txt# Parsing
trecv channel | awk { print $1 }# Filtering
trecv channel | grep "filter"# Automating
for x in {1..5}; do tsend channel username message; sleep 30; done# Respond
trecv channel | awk '$2 ~ /!command/ { system("tsend channel username message") }'
```