-
-
Notifications
You must be signed in to change notification settings - Fork 49
SLOBS Alerts setup
Krammy edited this page Aug 16, 2020
·
4 revisions
- Open Trovobot folder and go to Services > slobs.
- Open slobs.json (right click, edit) & change
"active" : true
. - Go to your slobs application > settings > remote control > click the QR code > click
show more
underneath, copy theAPI Token
- Go back to slobs.json & paste the copied token between the
""
on the token line.
- Go to your main scene and make 4 folders named
FOLLOW
,SUB
,JOINED
,SPELL
. - Inside each folder put images, gifs, textGDI messages, media sources (sounds/webm's).
- Make sure to click the eye icon on the folder only and make it invisible once you have it how you want.
(don't turn off the eye for the sources inside the folder)
- Make a TextGDI Source.
- Name it
follow-user
for example. - In properties tick
read from file
- Go to Bot folder > labels > select appropriate file.
- Customise colours, fonts, etc in properties.
- Go to
plugins
>alert-follow
>alert-follow.json
- Change the
"delay": 10
to how many seconds you want (Recommend 1 second longer than sound).
- Right click & Copy the folder we created for our "alert".
- Right click & Paste the folder (as reference) in to our other scenes.
- Repeat 1 & 2 for the other alert folders.
- Go to
plugins folder
>alerts-follow
& openalerts-follow.js
(right click, edit) - Go down to the line that says
Chat: false,
Event: true,
and switch them around.
Chat: true,
Event: false,
- Start the bot, wait for it to join chat and type
!follow
, this should trigger the folder to become visible, wait 10 seconds, turn invisible - Make sure to set
Chat: false,
Event: true,
back to normal & restart the bot after testing.
Inside each plugin > alert-x folder you'll see a json alert-X.json (x = alert type. Follow, sub, etc).
Change the "source" : "FOLLOW" to the source name you want. (make sure you only change what's between the double quotes "")
- Make sure you didn't put the alerts folders inside another folder. (in slobs)
- Make sure you didn't make any additional folders inside the alert folder. (in slobs)