Urlfetch need help

Asked Nov 29, 2020·1 reply·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 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

1 reply

@Dainty Crocodile 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