NightDev Community Forums

How to get a hug Random user command?

Someone was using this with streamelements, how do I do this with nightbot?

Like what it does is you type !hug and it goes “JayTuut(me or whoever used it) hugged (random user)” the random user being someone viewing the stream at the time

How do I get this to work? Ty

!addcom !hug $(user) Hugged $(urlfetch https://decapi.me/twitch/random_user/:channel)

Just change “:channel” to your channel name, all lowercase letters
This is just if you wanted to do the hug command in nightbot, idk about streamlabs

1 Like

Yeah I edited my post to make it more clear :slight_smile: