Appearance
Game and Title Filters
Game & Title Filters allow you to choose when Streamcord sends a notification based on the stream's title or game that is currently being played.
Available with Streamcord Pro
Game & Title Filters are available to Streamcord Pro subscribers.
How Filters Work
Limits
WARNING
Game and Title Filters only work for Twitch Notifications. They do not work for Kick Notifications, YouTube Notifications, or Live Role Notifications.
Additionally, there are limits on how many and which rules may be applied to notifications, depending on your Streamcord Pro subscription:
| Feature | Streamcord Free | Streamcord Pro |
|---|---|---|
| Game filter rules | ❌ | ✅ |
| Stream title filter rules | ❌ | ✅ |
| Rules per notification | N/A | Up to 5 |
Regular Expressions (RegEx)
This feature makes use of Regular Expressions, abbreviated as RegEx, to allow for flexibility and extensive customization in filter rules. Regular Expressions are sequences of characters that computers use to detect and find patterns in text.
If you're new to RegEx, here are some helpful tips to remember:
- Some characters have more than one meaning, such as
.,+,*,?,^,$,(,),[,],{,},|, and\. To prevent unintended behavior, you need to "escape" them by preceding each special character with a backslash (\). - The OR operator,
|, allows you to tell Streamcord to search for different groups of characters. This is useful if you want the bot to notify for multiple games or keywords in a stream title. - Streamcord will search for a partial match of your pattern, meaning that if you set your rule to
Destiny, you will be notified for any game that contains the word "Destiny", such as "Destiny 2" and "With Your Destiny". - Filter rules are case sensitive. To tell Streamcord to ignore the capitalization of letters, start your pattern with
(?i).
WARNING
While Regular Expressions are powerful, they can also be very difficult and awkward to use. If you're unfamiliar with them, we recommend checking out a tutorial on RegEx first. Please note that Streamcord support staff will not create Regular Expression patterns for you. Check below for common scenarios and their patterns
How to Design your Filter Rules
This section contains information on how to create your notification filter rules for a few common scenarios.
Notify for Only One Game
Let's say you only want Streamcord to send a notification when a streamer is playing Fortnite. In your notification settings, click Add a filter rule, set the Field to Stream game, leave the Match type as matches, and set the Regular Expression to ^Fortnite$. The ^ locks the sequence "Fortnite" to the beginning of the game's name, and the $ locks it to the end, meaning that the entire game's name must equal the word "Fortnite".
Notify for Multiple Games
Follow the same instructions as above, but split each game name with the | character, and surround your list of game names with parenthesis. For example, if you want to notify for Fortnite, Apex Legends, and Forza Horizon 5, your pattern should look like this:
^(Fortnite|Apex Legends|Forza Horizon 5)$
Notify for All Games except Certain Ones
Follow the same instructions as one of the above two scenarios, and change the rule's Match type to does not match.
Notify for a Game and Keyword in Title
For example, let's say that you only want to be notified when a certain Fortnite streamer is playing cash cups. We'll add a filter rule with Field set to Stream game for Fortnite as described in the sections above, then click Add a filter rule again and set the new rule's Field to Stream title. Under the pattern for the rule, we'll enter "cash cups", along with the flag for case-insensitivity, designated with (?i) at the start. Here's what our final pattern looks like:
(?i)cash cups
Using this pattern will match any version of the string "cash cups" regardless of capitalization, including these variations, and anything in between:
- Cash Cups
- cAsH cUpS
- CASH CUPS
- cash cups
Lastly, we'll change the Rule execution mode dropdown at the bottom to All rules must pass. This makes sure that we only receive a notification if the streamer is playing Fortnite and has "cash cups" in their stream title. Leaving it as the default (At least one rule must pass) would only require one of those conditions to be met.
How to Add a Filter
- Head to your server's page on the Streamcord Dashboard.
- Create a new Stream notification, or edit an existing one.
- Click Advanced settings to expand the section, then scroll to Game & Title Filters.
- Click Add a filter rule. For each rule, configure:
- The
Fielddropdown — chooseStream gameorStream title. - The
Match typedropdown — choosematchesordoes not match. - The
Regular Expressionfield — enter your pattern.
- The
- If you have multiple filter rules, use the
Rule execution modedropdown at the bottom of the filter list to choose between At least one rule must pass (default) or All rules must pass. - Click Edit notification (or Add notification for new notifications) to save your changes.