%contributors%
variable
%donationId%
Add Target Info
to include tags%broadcastId%
variable now%userPreviousActive%
variablemoderator:manage:shoutouts
scope?
buttons for YouTube
events
%provider%
variable to Tip and Merch events (can be twitch, youtube or streamelements)%tipId%
variable to the Tip event, this is StreamElements's internal tip id value%actionQueuedAt%
, this is when the action was queuedTwitch
-> Moderation
0.1.17
introduces a new Raw event, ActionCompleted. Subscribing to this event in the Websocket Server will get you information when an action is completed.
Yes, Twitch finally added the ability to manipulate the new tags!
The Clear Channel Tags sub-action has no input, and will just clear your tags.
The Add, Remove and Set Channel Tag sub-actions all support variables.
The Add Target Info adds the following new arguments:
Name | Description |
---|---|
tagCount |
The number of tags |
tag# |
The tag at index position # |
tags |
A List<string>() object for use in C# |
tagsDelimited |
A comma delimited string of the tags |
At the moment, there is a bug in the Twitch Helix endpoint, where its unable to clear the tags completely. So for the time being Clear Tags and Removing the last tag will fail. Once Twitch fixes this, they should start working.
If you keep at least 1 tag active, you'll be able to add/remove tags at will. And for setting all tags, at least 1 needs to be set.
This is a basic sub-action, either use a variable, or a fixed user login to send a shoutout to the user.
You may send a Shoutout once every 2 minutes, and to the same broadcaster once every 60 minutes.
This sub-action will allow you to select one of your groups, so you can clear the users belonging to it during an action
Since the C# methods for this have existed for a bit, adding in sub-actions to perform this now as well.
With the Shoutout events being added to EventSub, this event has been moved from PubSub to EventSub, this unfortunately changes some of the variables. This Event has also been moved to the Moderation
tab
Variables Removed
%targetUserPrimaryColorHex%
%targetUserProfileImageURL%
Variables Added
Name | Description |
---|---|
viewerCount |
The number of users that were watching the broadcaster’s stream at the time of the Shoutout. |
cooldownEndsAt |
The DateTime of when the broadcaster may send a Shoutout to a different broadcaster. |
targetCooldownEndsAt |
The DateTime of when the broadcaster may send another Shoutout to the same broadcaster. |
For the new Twitch StreamOnline event, this will not be triggered if you are online and Streamer.bot connects to your Twitch account.
StreamOnline Event arguments
Name | Description |
---|---|
startedAt |
The date, time the stream went online |
game |
The category name |
gameId |
The category id |
tagCount |
The number of tags |
tag# |
The tag at index position # |
tags |
A List<string>() object for use in C# |
tagsDelimited |
A comma delimited string of the tags |
StreamOffline Event arguments
Name | Description |
---|---|
endedAt |
The date time when the stream went offline |
With the new EventSub events for Shoutouts, Streamer.bot can now react to receiving a Shoutout
This event is sent only if Twitch posts the Shoutout to your activity feed.
Shoutout Received Event Arguments
Name | Description |
---|---|
%viewerCount% |
The number of users that were watching the from broadcaster's stream at the time of the Shoutout |
void CommandRemoveGlobalCooldown(string id);
void CommandRemoveUserCooldown(string id, int userId);
void CommandRemoveAllUserCooldowns(string id);
void CommandResetUserCooldown(string id, string userId);
void CommandRemoveUserCooldown(string id, string userId);
void CommandAddToUserCooldown(string id, string userId, int seconds);
bool UserIdInGroup(string userId, string groupName);
bool AddUserIdToGroup(string userId, string groupName);
bool RemoveUserIdFromGroup(string userId, string groupName);
bool TwitchClearChannelTags();
bool TwitchSetChannelTags(List<string> tags);
bool TwitchAddChannelTag(string tag);
bool TwitchRemoveChannelTag(string tag);
long TwitchGetChannelPointsUsedByUserId(string userId);
bool ClearUsersFromGroup(string groupName);
void TwitchResetRewardCounter(string rewardId);
void TwitchResetRewardUserCounters(string rewardId);
void TwitchResetUserRewardCounters(string userId, bool persisted);
void TwitchResetUserRewardCounter(string rewardId, string userId);
void TwitchRewardGroupEnable(string groupName);
void TwitchRewardGroupDisable(string groupName);
void TwitchRewardGroupToggleEnable(string groupName);
void TwitchRewardGroupPause(string groupName);
void TwitchRewardGroupUnPause(string groupName);
void TwitchRewardGroupTogglePause(string groupName);
bool TwitchSendShoutoutById(string userId);
bool TwitchSendShoutoutByLogin(string userLogin);