How to get the Youtube Channel ID with Nightbot

Hi there,
for one of my projects i need the YT Channel ID of the user that writes the Command.
With $(user) it seems possible to get the Channel-Name, but i need the ID.

Example PewDiePies Channel ID: UC-lHJZR3Gqxm24_Vd_AJ5Yw (youtube.com/channel/UC-lHJZR3Gqxm24_Vd_AJ5Yw)

Is there a way how i can get this channel id?

Thanks for the help!

Got it! $(userid). Currently not documented. Maybe some one needs that as well.

For the record, it actually is documented: https://docs.nightbot.tv/commands/variables/userid

This topic was automatically closed after 13 days. New replies are no longer allowed.