!SO with latest video

I have managed to set up a command !so that allows us to show out a user on YouTube stream but How do I get the command when triggered to also send a link to their latest video or no link of no videos

Hey @beitmenotyou!

It’s going to be hard to help you without code to work on, but here’s what you want to do in theory:

const latestVideoLink = PULL_LATEST_VIDEO_LINK;
if (latestVideoLink) {
  `RESPONSE_WITH_LATEST_VIDEO_LINK`;
} else {
  `RESPONSE_WITHOUT_LATEST_VIDEO_LINK`;
}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.