User Tools

Site Tools


custom_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
custom_commands [2020/05/22 19:13]
expertsonline [VIP-Exclusive Command Variables]
custom_commands [2020/06/11 22:23] (current)
expertsonline [VIP-Exclusive Command Variables]
Line 79: Line 79:
 | @ctt@[InsertCustomTweet] | This generates a link to tweet out a custom message specified. E.g. Support the stream by tweeting! <​nowiki>​@ctt@[Check out expertsonline @ http://​twitch.tv/​expertsonline playing @game@]</​nowiki>​ | | @ctt@[InsertCustomTweet] | This generates a link to tweet out a custom message specified. E.g. Support the stream by tweeting! <​nowiki>​@ctt@[Check out expertsonline @ http://​twitch.tv/​expertsonline playing @game@]</​nowiki>​ |
 | @customjsonapi@[URL,​field] | Custom API support to get parts of a JSON object. For example to get the status for a channel using user input - @customjsonapi@[%%https://​api.twitch.tv/​kraken/​channels/​@target@[1]%%,​status] (Note Twitch API requests now require you to pass a Client ID along with your request. See https://​blog.twitch.tv/​client-id-required-for-kraken-api-calls-afbb8e95f843#​.qvtr401fh for more info) | | @customjsonapi@[URL,​field] | Custom API support to get parts of a JSON object. For example to get the status for a channel using user input - @customjsonapi@[%%https://​api.twitch.tv/​kraken/​channels/​@target@[1]%%,​status] (Note Twitch API requests now require you to pass a Client ID along with your request. See https://​blog.twitch.tv/​client-id-required-for-kraken-api-calls-afbb8e95f843#​.qvtr401fh for more info) |
 +| @customjsonapi2@ | Custom API support with GET/POST capability as well as custom headers. \\ Example GET \\ @customjsonapi2@[{ ​ "​url":​ "​https://​postman-echo.com/​get", ​ "​method":​ "​GET", ​ "​headers":​ \[ "​Content-Type:​ application/​json"​ \],  "​path":​ "​data.args.foo1", ​ "​showResult":​ "​true"​}] \\ Example POST \\ @customjsonapi2@[{ ​ "​url":​ "​https://​postman-echo.com/​post", ​ "​method":​ "​POST", ​ "​payload":​ { "​args":​ { "​foo1":​ "​bar1","​foo2":​ "​bar2"​}}, ​ "​headers":​ \[ "​Content-Type:​ application/​json"​ \],  "​path":​ "​data.args.foo1", ​ "​showResult":​ "​false"​}]|
 | @datetime@[format] | Formatted date/time output. Formatting Details : https://​msdn.microsoft.com/​en-us/​library/​8kb3ddd4.aspx | | @datetime@[format] | Formatted date/time output. Formatting Details : https://​msdn.microsoft.com/​en-us/​library/​8kb3ddd4.aspx |
 +| @datetime@[secs] | Convert seconds to human friendly text |
 | @editpoints@ | Silently edits users' points in chat. Only runs when the command that includes this variable has User (Elevated Access) selected. E.g. @editpoints@[@user@%%|%%10] | | @editpoints@ | Silently edits users' points in chat. Only runs when the command that includes this variable has User (Elevated Access) selected. E.g. @editpoints@[@user@%%|%%10] |
 | @exec@ | Chains one or more commands from a single command. E.g. @exec@[5,​!bot] will run !bot after 5 seconds. | | @exec@ | Chains one or more commands from a single command. E.g. @exec@[5,​!bot] will run !bot after 5 seconds. |
Line 129: Line 131:
 | @obs@[StartStreaming]| Use this to make deepbot start your live stream in Obs with Obs remote | | @obs@[StartStreaming]| Use this to make deepbot start your live stream in Obs with Obs remote |
 | @obs@[StopStreaming] | Use this to make deepbot stop your live stream in Obs with Obs remote | | @obs@[StopStreaming] | Use this to make deepbot stop your live stream in Obs with Obs remote |
 +| @raffleinfo@ | Shows information about the users raffle entry status |
 ---- ----
  
custom_commands.txt ยท Last modified: 2020/06/11 22:23 by expertsonline