NightDev Community Forums

Urlfetch need help

Hi i need help what i wanted to do is once a user type a command the response that will nighbot will give is the user’s youtube url and i am having trouble setting it. Pls help me how to do it. Thanks alot

@Therry Heya, welcome to the community. It is possible via $(userid). Try this,

!addcom -cd=5 !COMMAND_NAME $(user) your YouTube channel link: https://www.youtube.com/channel/$(userid)

Example

Ritik: !YouTube
Nightbot: Ritik your YouTube channel link: https://www.youtube.com/channel/XXXXXXXXXXXXXXX

Regards

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