Channel Point Redemption Moderation

Streamer.bot Channel Point Moderation

This repository provides a customizable moderation script for Twitch Channel Point redemptions using Streamer.bot. The script helps manage excessive redemptions by implementing cooldowns, issuing warnings, and applying timeouts when necessary.

See the GitHub

:package: Files Included

  • moderation.cs: The C# script that handles the moderation logic.
  • channel point redemption moderation.sb: An importable Streamer.bot action file for easy integration.

:gear: Features

  • Per-User Cooldown Tracking: Maintains individual cooldowns to prevent abuse.
  • Customizable Settings: Easily adjustable parameters for max redemptions, cooldown window, and timeout duration.
  • Moderator & VIP Exemptions: Configurable options to exclude moderators and VIPs from moderation.
  • Two-Level Warning System: Sends a chat warning on the first offense and applies a timeout on the second.
  • Non-Persistent Data: Resets all tracking data upon Streamer.bot restart to ensure fresh moderation.

:wrench: Installation

channel point redemption moderation.sb (5.1 KB)

  1. Import the Action: Open Streamer.bot and select “Import” to import the channel point redemption moderation.sb file.
  • Just drag and drop the file into the import field and click Import.
  1. Configure Arguments:

    • MaxRedemptions: Maximum number of redemptions allowed per user within the specified time window (default: 5).
    • WindowSeconds: Time window in seconds for tracking redemptions (default: 600 seconds or 10 minutes).
    • CheckIfMod: Set to true to skip moderation for moderators (default: true).
    • CheckIfVip: Set to true to skip moderation for VIPs (default: true).
    • TimeoutSeconds: Duration of the timeout in seconds when a user exceeds the redemption limit (default: 120 seconds).
    • TimeoutReason: Reason displayed for the timeout (default: “Spamming Channel Redemptions”).

:hammer_and_wrench: Usage

Upon setting up, the script will automatically monitor Channel Point redemptions. It will:

  • Track individual user redemptions.
  • Issue a chat warning if a user exceeds the redemption limit.
  • Apply a timeout if the user exceeds the limit again within the same time window.

:page_facing_up: License

This project is licensed under the MIT License.

Note: I’ve tested this with 0.2.8 and 1.0.0 - works with both.

1 Like

Works great! Thank you my friend!

1 Like

Glad to see it work. Let me know if you have any issues with it.