diff --git a/streamerbot/1.get-started/assets/twitch-accounts.png b/streamerbot/1.get-started/assets/twitch-accounts.png index dd4db119..b2796eb6 100644 Binary files a/streamerbot/1.get-started/assets/twitch-accounts.png and b/streamerbot/1.get-started/assets/twitch-accounts.png differ diff --git a/streamerbot/1.get-started/assets/twitch-target-user-info.png b/streamerbot/1.get-started/assets/twitch-target-user-info.png index e1d66a72..57a8949b 100644 Binary files a/streamerbot/1.get-started/assets/twitch-target-user-info.png and b/streamerbot/1.get-started/assets/twitch-target-user-info.png differ diff --git a/streamerbot/1.get-started/assets/youtube-accounts.png b/streamerbot/1.get-started/assets/youtube-accounts.png index eebdbf23..b0b7b30e 100644 Binary files a/streamerbot/1.get-started/assets/youtube-accounts.png and b/streamerbot/1.get-started/assets/youtube-accounts.png differ diff --git a/streamerbot/3.api/1.sub-actions/core/quotes/get-quote.md b/streamerbot/3.api/1.sub-actions/core/quotes/get-quote.md index f8d564e6..44301a3b 100755 --- a/streamerbot/3.api/1.sub-actions/core/quotes/get-quote.md +++ b/streamerbot/3.api/1.sub-actions/core/quotes/get-quote.md @@ -19,6 +19,5 @@ Name | Description | Example `quoteUserId` | The user id from the account that made the quote | `streamerbot` `quoteUser` | The user's display name from the account that made the quote | `StreamerBot` `quotePlatform` | The platform from the account that made the quote | `twitch` -`quoteGameId` | The game id from the quote `123942` `quoteGame` | The game name from the quote | `Beat Saber` `quote` | The quote itself | `this is a quote!` \ No newline at end of file diff --git a/streamerbot/3.api/1.sub-actions/twitch/user/get-user-info-for-target.md b/streamerbot/3.api/1.sub-actions/twitch/user/get-user-info-for-target.md index 46505058..31155577 100644 --- a/streamerbot/3.api/1.sub-actions/twitch/user/get-user-info-for-target.md +++ b/streamerbot/3.api/1.sub-actions/twitch/user/get-user-info-for-target.md @@ -1,7 +1,11 @@ --- title: Get User Info for Target -description: Fetch Twitch user data and populate a set of variables +description: Fetch Twitch user data from a given value and populate a set of variables variables: + - name: addTargetResult + type: bool + description: Whether or not a user was found with the value that was used + version: 1.0.0 - name: targetUser description: Display name of the target user - name: targetUserName @@ -55,14 +59,11 @@ variables: --- ## Parameters -::field-group - ::field{name="Source Type" type=Select} - - `Broadcaster` - The currently logged in broadcaster account - - `User` - User that invoked the action e.g. a raid leader, subscriber, point redeemer etc. - - `From Input` - This will take the next word proceeding the trigger as the username to lookup. This user does not have to be present in the channel - - `Variable` - Use the current value of an existing variable as the target - :: - ::field{name="Variable" type=Text} - If you selected `Variable` as your `Source Type`, enter the name of the variable you would like to read in - :: +::field{name="User Login" type=Text} +The User Login field can contain either a literal username or a variable/argument. +**Examples** +- `%userName%` – The user who triggered the action +- `genericuser` – A specific account with the name `genericuser` +- `%input0%` – The first input provided (e.g., in a command or reward) +- `%broadcastUserName` – The broadcaster’s account. If not used with a Twitch/Command trigger, be sure to add the [Add Broadcaster Information](/api/sub-actions/twitch/user/add-broadcaster-information) sub-action first :: \ No newline at end of file diff --git a/streamerbot/3.api/3.csharp/_classes/QuoteData.md b/streamerbot/3.api/3.csharp/_classes/QuoteData.md index 1e5c053b..79c1a2ab 100644 --- a/streamerbot/3.api/3.csharp/_classes/QuoteData.md +++ b/streamerbot/3.api/3.csharp/_classes/QuoteData.md @@ -9,7 +9,9 @@ public class QuoteData public string User { get; set; } public string Platform { get; set; } - public string GameId { get; set; } + // GameId was removed in 1.0.0+ to make GameName + // more flexible + public string GameName { get; set; } public string Quote { get; set; }