Custom Command Help

Asked Oct 28, 2020·2 replies·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hi!

I’m trying to help someone with Nightbot (for YoutTube) but I’m having diffculty. They would like to set up a command that everyone is able to use that will display their individual channel links in the message.

I know it’s possible to do because they saw it on someone else’s livestream. How can I do it i.e what do I need write in the message box?

Many thanks 😊

2 replies

@Emerald Goose Welcome to the community, Yeah, it is possible, as Nightbot provides the $(UserID) variable.

Just paste the following code in YouTube Live Chat. :)
!addcom -cd=5 !<CommandName> [ https://www.youtube.com/channel/$(userid) ]

Me too having such command, by the way. I call it the !shoutout command. Please don't laugh. :)

!addcom -cd=5 !shoutout Here is a SHOUT OUT to [ @$(user) ] by stream <stream name>. You can check the channel at [ https://www.youtube.com/channel/$(userid) ]

Usage:

Ritik: !shoutout
Nightbot: Here is a SHOUT OUT to [ @Ritik ] by stream Ritik's stream. You can check the channel at [ https://www.youtube.com/channel/XXXXXXXXXXXXXX ]

Hope this will work.

Thank you so much, you’re a star! It worked perfectly !! :star_struck: