docs: document keyword alert subscription plugin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,12 +53,15 @@ format = "json" # JSONL output (default: "text")
|
||||
## Container
|
||||
|
||||
```bash
|
||||
make build # Build image
|
||||
make build # Build image (only for dep changes)
|
||||
make up # Start (podman-compose)
|
||||
make down # Stop
|
||||
make logs # Follow logs
|
||||
```
|
||||
|
||||
Code, plugins, config, and data are bind-mounted. No rebuild needed for
|
||||
code changes -- restart the container or use `!reload` for plugins.
|
||||
|
||||
## Bot Commands
|
||||
|
||||
```
|
||||
@@ -329,6 +332,21 @@ Names: lowercase alphanumeric + hyphens, 1-20 chars. Max 20 streamers/channel.
|
||||
Polls every 2min. Announces offline->live transitions. Persists across restarts.
|
||||
No API credentials needed (uses public GQL endpoint).
|
||||
|
||||
## Alert
|
||||
|
||||
```
|
||||
!alert add <name> <keyword...> # Add keyword alert (admin)
|
||||
!alert del <name> # Remove alert (admin)
|
||||
!alert list # List alerts
|
||||
!alert check <name> # Force-poll now
|
||||
```
|
||||
|
||||
Searches keywords across YouTube (InnerTube) and Twitch (GQL) simultaneously.
|
||||
Names: lowercase alphanumeric + hyphens, 1-20 chars. Keywords: 1-100 chars.
|
||||
Max 20 alerts/channel. Polls every 5min. Max 5 announcements per platform per cycle.
|
||||
Format: `[name/yt] Title -- URL` or `[name/tw] Title -- URL`.
|
||||
No API credentials needed. Persists across restarts.
|
||||
|
||||
## Plugin Template
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user