As the name suggests, Streamlabs Chatbot is a robust open-source platform equipped with numerous features to build self-hosted Chatbots for today’s streamers to whom catering an amusing experience to the end-users or audience has become an obligatory deal.
Streamlabs Chatbot is developed to enable streamers to enhance the users’ experience with rich imbibed functionality. This sound Chatbot development solution was founded and developed by ‘Ankhheart’ initially for Twitch streamers and now it’s officially available to integrate with YouTube, FaceBook, and Mixer.
All you need to simply log in to any of the above streaming platforms. It automatically optimizes all of your personalized settings to go live. This streaming tool is gaining popularity because of its rollicking experience. Using this amazing tool requires no initiation charges, but, when you go with a prime plan, you will be charged in a monthly cycle.
To kick-off using this tool, a huge amount of learning resources are on tap, but through this documentation, we will make things simple to get started and carry out to its maximum potential. To begin so, and to execute such commands, you may require a multitude of external APIs as it may not work out to execute these commands merely with the bot.
So, here is a quick guide to begin with!
Below are the most commonly used commands that are being used by other streamers in their channels.
This command is used to retrieve and display the information related to the stream comprising game title, uptime, current status, and the current number of current viewers.
Response: Game: $mygame | Title: $mystatus | Uptime: $uptime | Viewers: $readapi(https://api.crunchprank.net/twitch/viewercount/$mychannel)
This command will return the time-duration of the stream and will return offline if the stream is not live.
Response: $mychannel has been live for $uptime.
Using this command will return the local time of the streamer.
Response: The time is currently $time for $mychannel.
To return the date of the streamer.
Response: The date is currently $date for $mychannel.
Top 5 Points
To list the top 5 users having most points or currency.
Response: The top 5 users based on points: $toppoints(5)
Top 5 Hours
This command will help to list the top 5 users who spent the maximum hours in the stream.
Response: The top 5 users based on hours: $tophours(5)
This will return the number of followers you have currently.
Response: $mychannel currently has $readapi(https://api.crunchprank.net/twitch/followcount/$mychannel) followers.
To return the date and time when your users followed your channel.
Response: $tousername, you followed $mychannel on $readapi(https://api.crunchprank.net/twitch/followed/$mychannel/$touserid).
This will return how much time ago users followed your channel.
Response: $tousername, you have been following $mychannel for $readapi(https://api.crunchprank.net/twitch/followage/$mychannel/$touserid?precision=3).
This will return the date and time for every particular Twitch account created.
Response: The account for $tousername was created on $readapi(https://api.crunchprank.net/twitch/creation/$touserid).
Example: !created crunchprank
Recent 3 Followers
This will display the last three users that followed your channel.
Response: Welcome to our 3 most recent followers: $readapi(https://api.crunchprank.net/twitch/followers/$mychannel?count=3&direction=desc)!
This will return the latest tweet in your chat as well as request your users to retweet the same. Make sure your Twitch name and twitter name should be the same to perform so.
Response: Please retweet my recent tweet! $readapi(https://api.crunchprank.net/twitter/latest/$mychannel?no_rts&url)
This will give an easy way to shoutout to a specific target by providing a link to their channel.
Response: Please go check out $targetname at $url – I love them and you should too!
Example: !shoutout crunchprank
This will display all the channels that are currently hosting your channel. Be careful if you are a large streamer.
Response: Thanks to all the users currently hosting: $readapi(https://api.crunchprank.net/twitch/hosts/$mychannel?implode).
Current And Next Song With Details
This will display the song information, direct link, and the requester names for both the current as well as a queued song on YouTube.
Response: Current song: $currentsong – https://www.youtube.com/watch?v=$readapi(https://api.crunchprank.net/youtube/videoid?search=$currentsong) Requested by: $requestedby
Response: Next song: $nextsong – https://www.youtube.com/watch?v=$readapi(https://api.crunchprank.net/youtube/videoid?search=$nextsong) Requested by: $nextrequestedby
This command will demonstrate all BTTV emotes for your channel.
Response: Check out all the BTTV emotes for $mychannel! $readapi(https://api.crunchprank.net/bttv/emotes?channel=$mychannel)
This enables one user to give a specified currency amount to another user.
Response: $givepoints(“$userid”,”$targetid”,”$num2″,”$username gave $value $currencyname to $targetname”,”fail”,”false”)
Example: !give woahh_jess 5
Explanation: 5 points are removed from the user of the command and given to woahh_jess
Give Points To Everyone
This command runs to give a specific amount of points to all the users belonging to a current chat.
!points add +viewers <amount>
Twitch API Commands
Demonstrated commands take recourse of $readapi function. Some of its commands come with the customized settings that enable you to personalize the result of your query you execute and all those commands are mentioned in our document.
Description: Gets the time difference which is also known as the “follow age” or “time ago” between when a user starts following the channel.
Description: Retrieves the date and time of when the user followed the channel.
Description: Retrieves all the followers of a specified channel by making use of a variety of optional parameters for customization.
Description: This command is used to retrieve the creation date and time of a user.
Description: To retrieve the age of a user account.
Description: To retrieve the latest highlights of the specified channel.
Description: Displays the latest uploaded video for your specified channel.
Description: Displays all the channel names hosting the specified channel.
Description: Returns the subscriber emotes for the specified channels as well as lists them.
Team Member List
Description: Returns the members of a specified team.
Description: This command is used to generate a multi-stream link.
Other Service API Commands
Similar to the above one, these commands also make use of Ankhbot’s $readapi function, however, these commands are exhibited for other services, not for Twitch.
Twitter- Latest Tweet
Description: This command helps to return the latest tweet ensured by the specified user.
YouTube Video ID
Description: This command helps to search the YouTube API with the specified string and displays the very first result it finds.
YouTube Latest Videos
Description: This command is used to retrieve the latest video uploaded to the specified channel as well as returns the title and URL for it.
Response: $readapi(https://api.crunchprank.net/youtube/latest_video?user=USER) or $readapi(https://api.crunchprank.net/youtube/latest_video?id=USERID)
Description: This command is used to find the first returned definition for a specific word from Urban Dictionary.
Response: $msg: $readapi(http://jwd.me/twitch/api/urban-dictionary.php?q=$msg)
Description: This command is considered to be a game-specific command used to retrieve the information, for instance, players’ stats.
Poonam Singh is a senior technical writer and content strategist at Infoxen Technologies. She treasures her idle time by keeping herself well read about dominant web technologies & their implementation. She’s passionate and enthusiastic to write on a multitude of technology domains for startups and continuously evolving enterprises.
Tweets by punamsneha
Disclaimer: The views and opinions expressed in this article are those of the authors and do not reflect the official policy or position of any company, organization and employer.