Sehelitar / Kick.bot

A powerful Kick integration for Streamer.bot
https://sehelitar.tv/
GNU Affero General Public License v3.0
19 stars 4 forks source link

[Request] GetTargetUserInfo #44

Closed Jyojibh closed 6 months ago

Jyojibh commented 6 months ago

Currently when you do the method GetUsersInfo its the person that typed out the command, However can we get the TargetUserInfo?

I would like the ability to draw the last thing a person was playing and other details instead of the person that triggered it

https://wiki.streamer.bot/en/Sub-Actions/Twitch/Get-User-Info-for-Target

MaddestScience commented 6 months ago

I guess when you do make an targeted command, and add an argument in streamerbot called user, give it the value of %input0% It will grab the GetUsersInfo from the %input0% Try that.

Jyojibh commented 6 months ago

This is how I currently have it setup but I am still adding to it, But It doesn't seem to give the targeted user's details just mine.

I did try the other way around so having Execute GetUserInfos after the Argument as well as i wasnt sure which way around it should be but it didnt work out.

I also tried setting user to %rawInput% as well, And that doesnt seem to work, So a little stumped

image

Sehelitar commented 6 months ago

Use %targetUser% which is way more reliable than %user% (since it is already set with your own info).

image
Jyojibh commented 6 months ago

That worked perfectly, I wondered if it was that simple but thought id double check :)