Remember that free-tier members are still required to have chat attributes via Pretzel's system and !song commands are not an alternative to this.
This article contains the following options:
- Nightbot
- Phantombot
- Streamlabs Chatbot (formerly Ankhbot)
- Streamlabs Cloudbot
- StreamElements Bot
- Deepbot
- Moobot
- MixItUp (formerly Mixer bot)
- Why is my !song command not working?
Before you create your !song command, you'll need to get your Twitch User ID Number from here.
Your Twitch User ID is *NOT* the same as your username, it's a specific number that you'll need for the command.
After you have your Twitch User ID, you'll use it in the API:
https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber
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.
For Nightbot:
!commands add !song $(urlfetch https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber)
If you need to edit a current command, use !commands edit rather than add; or edit from the Nightbot dashboard.
For Phantombot:
!addcom !song (customapi https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber)
If you need to edit a current command, use !editcom rather than !addcom.
For Streamlabs Chatbot (formerly Ankhbot):
!command add !song $readapi(https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber)
If you need to edit a current command, use !command edit rather than add; or edit the command from the Chatbot dashboard.
For Streamlabs Cloudbot:
!command add !song {readapi.https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber}
If you need to edit a current command, use !command edit rather than add; or edit the command from the Cloudbot dashboard.
For StreamElements Bot:
!command add !song ${urlfetch https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber}
If you need to edit a current command, use !command edit rather than add.
For Deepbot:
!addcmd !song @customapi@[https://api.pretzel.tv/playing/twitch/YOUR_TWITCH_UserIDNumber]
If you need to edit a current command, use !editcmd rather than !addcmd
For Moobot:
Paste your custom API URL into the "URL fetch" area of the dashboard. You can read more here.
For MixItUp (formerly Mixer bot):
NOTE: The URL does NOT need to be changed! MixItUp will automatically put your Twitch ID in place of the variable in the URL.
1. On the Commands screen, click the New Command button
2. Select Advanced Command
3. From the action list at the bottom, choose Web Request then click the + button to the right
4. Fill out the form as below: - Name: Now Playing - Chat Trigger(s): song - Auto-include "!": On - Web Request URL: https://api.pretzel.tv/playing/twitch/$streamerusertwitchid
- Action to perform with response: Chat
- Chat Message: $webrequestresult
5. Make sure to click the SAVE (disk icon) button to save the command!
Why is my !song command not working?
Be sure you are using your Twitch UserID number. It is not the same as your username.
You can get this number from: https://twitchuidlookup.herokuapp.com/
Comments
0 comments
Article is closed for comments.