Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified streamerbot/1.get-started/assets/twitch-accounts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified streamerbot/1.get-started/assets/twitch-target-user-info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified streamerbot/1.get-started/assets/youtube-accounts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion streamerbot/3.api/1.sub-actions/core/quotes/get-quote.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!`
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
::
4 changes: 3 additions & 1 deletion streamerbot/3.api/3.csharp/_classes/QuoteData.md
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
Loading