Skip to content

Comments

feat(commands): add block-term command#181

Merged
olivermrose merged 2 commits intomainfrom
feat/block-term-cmd
Feb 14, 2026
Merged

feat(commands): add block-term command#181
olivermrose merged 2 commits intomainfrom
feat/block-term-cmd

Conversation

@olivermrose
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 14, 2026 23:14
@olivermrose olivermrose added scope: commands feature New feature or request labels Feb 14, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new chat command to block a term via Twitch’s blocked-terms moderation API, extending the existing Channel model with a helper method used by the command.

Changes:

  • Add Channel.blockTerm(term) to call POST /moderation/blocked_terms.
  • Introduce a new built-in command block-term that invokes channel.blockTerm.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/lib/models/channel.svelte.ts Adds a blockTerm method on Channel that calls the Twitch moderation endpoint.
src/lib/commands/built-in/block-term.ts Adds a new block-term command that triggers the new Channel.blockTerm method.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@olivermrose olivermrose merged commit 18b3ccd into main Feb 14, 2026
1 check passed
@olivermrose olivermrose deleted the feat/block-term-cmd branch February 14, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request scope: commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant