banUser
Ban a user from Twitch chat by specifying a username or behavior descriptor. Optionally include a reason for the ban. If no username is provided, retrieve recent chat logs for review using AI moderation tools.
Instructions
Ban a user from the Twitch chat. If no username is provided, it will return the recent chat log for LLM review.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
reason | Yes | Reason for ban (optional) | |
usernameOrDescriptor | Yes | Username or descriptor to ban (e.g. 'toxic', 'spammer', or a username) |
Input Schema (JSON Schema)
{
"properties": {
"reason": {
"description": "Reason for ban (optional)",
"type": "string"
},
"usernameOrDescriptor": {
"description": "Username or descriptor to ban (e.g. 'toxic', 'spammer', or a username)",
"type": "string"
}
},
"required": [
"usernameOrDescriptor",
"reason"
],
"type": "object"
}