Someone asked in the discord so I’m posting my answer here ( it contains a link that cant be posted in the discord )
!commands add !song $(urlfetch https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber)
Before you create your !song command, you’ll need to get your Twitch User ID Number. I got my id from here: Twitch Channel ID Converter - Easily Convert Twitch Username to User ID
Your Twitch User ID is NOT the same as your username, it’s a specific number that you’ll need for the command.
( note that my source wants you to go here but i couldn’t get it to work but as long as you have your user id you should be all good )
After you have your Twitch User ID, you’ll use it in the API:
“You may need to delete any previous song commands in your bot before creating this new one. This is a new API, so if you have previous !song commands for Pretzel, you will need to update them. Remember that free-tier members are still required to have chat attributes via Pretzel’s system. !song commands are not an alternative to this”
My Source: How do I create a !song command for my bot? .