If you’re using a chatbot that allows custom commands (Streamlabs Chatbot, Nightbot, etc), you can access squad strats from your stream chat by setting up a custom command.
If you don’t have chatbot and would like to add one, Nightbot is here. All you have to do is log into Nightbot with twitch, approve the permissions, select Join Channel in the top right, and mod Nightbot by typing /mod Nightbot in your stream chat
Go to your custom commands page. Add a new command; you can name it whatever you like, but the message must be
$(urlfetch https://squadstrats.com/api/?type=$(1)&team=$(2)) as seen below:
Open your chatbot application and navigate to the commands tab. Add a new command; you can name it whatever you like, but the response must be $readapi(https://squadstrats.com/api/?type=$arg1&team=$arg2) as seen below:
Go to Cloudbot commands tab in your Streamlabs Dashboard and add a custom command. You can name it whatever you like, but the response must be {readapi.https://squadstrats.com/api/?type={1}&team={2}} as seen below:
In your stream chat (with your chatbot connected and active) use the command by typing the command name, a space, the game type, a space, and the team type. For example: !strat secure defend
Remember: the order matters, game type must come first, then team.
Your bot should print out the name of a strat and its description, similar to what can be seen below:
Game types are:
– bomb
– hostage
– secure
Teams are:
– attack
– defend
If you’re having trouble, feel free to message me on twitter and I’ll try to help you out.
Return to Squad Strats