Skip to content

darkbot v0.7.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 03:50
· 20 commits to main since this release

What's new

!clips: viewers make a clip of the last 60 seconds from chat

New built-in chat command (Chat tab, off until turned on). A viewer types
!clips, darkbot creates a 60-second clip with Helix Create Clip, asks Get
Clips every 3 s until Twitch lists it (Twitch documents: not listed after
60 s = failed) and replies with the link. The clip also lands in the
activity feed with a link that opens in the browser.

  • Settings: command name (default "clips"; can't clash with song commands
    or the streamer's own ! commands, both ways), who may use it, cooldown
    for everyone (default 60 s, broadcaster and mods skip it), optional
    title with {user} (empty keeps the stream title). One clip at a time.
  • Chat explains Twitch's documented failures: not live (404), category
    not clippable or title refused by AutoMod (400, retried once without
    the title), clips off or limited (403); other errors give a short
    "try again", details in the log.
  • The Twitch login now requests clips:edit, so existing logins are asked
    to reconnect once; the Chat tab says why clips can't run yet.
  • Helix errors carry their HTTP status (APIError) so callers can tell
    cases apart.
  • Tests: Create/Get Clip on a fake Twitch, the handler's flows and
    errors, settings validation, config defaults for old configs.

Download

  • Windows 10/11: darkbot-windows-amd64.exe
  • macOS, Apple Silicon: darkbot-macos-arm64.app.zip
  • macOS, Intel: darkbot-macos-amd64.app.zip
  • Linux: darkbot-linux-amd64

Already installed? darkbot updates itself on the next start.

Full changelog: v0.6.0...v0.7.0