Skip to content

Chooses a random gif suitable for the current game played on twitch

License

Notifications You must be signed in to change notification settings

DustyDiamond/SL-Chatbot-Random-Gif-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomGIF

GitHub release (release name instead of tag name) GitHub

Chooses a random gif suitable for the current game you play on twitch.
Simply import every gif you want to display in a special scene in SLOBS.
Name your Gif-Sources as <game-name>-<nr> (heroesofthestorm-1) make sure there aren't any duplicate numbers and that there isn't a number missing.
With command !getgame you can read out your current game, the way the script interpretes the game. Take that exact game name to name your gifs.
You can place your gifs in the scene as you wish. Then import that "gif-scene" into your live scenes or whereever you want to display your gifs. Make sure to set the name of the scene where your gifs are stored in chatbot settings.

You can toggle on/off if you want the the last two gifs that have been played to be excluded for the next command, so everytime there is chosen a different gif. This is especially helpful if you don't have that many gifs per game. I strongly recommend to have more than 3 gifs per game, but the more the better.

You can choose your OBS Version. Currently only Streamlabs Desktop (former Streamlabs OBS) and OBS Studio are supported.

Dependencies

The script uses the SLOBS RC CONSOLE Application from ocgineer. You can find it here
A custom and extended version of the Console App is built and shipped with the script so the script won't work with the original bridge application.
You can find docs to SLOBS RC here
It's used to control SLOBS from Chatbot so you have to use Streamlabs Desktop to get it working.
With Version 1.1.0 the script works with either Streamlabs Desktop or OBS Studio. If you use it with OBS Studio you have to enable Websocket in OBS Studio and connect your bot to your Websocket before use.