Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
custom_commands [2018/02/27 20:40] – ianchandler1990 | custom_commands [2022/11/06 17:22] (current) – Added ; to donate start of list in @savedb@ variable dante557 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{keywords> | ||
===== Custom Command Variables ===== | ===== Custom Command Variables ===== | ||
+ | On this page you will find all the variables that are currently available for you to use in your custom commands. \\ | ||
+ | Please see the table below for the full list of variables available to you.\\ | ||
- | This is a list of all available custom command | + | You can organise this list by either searching for the keyword/ |
+ | Any variables | ||
+ | Feel more customisation is needed? Request them over at our [[https:// | ||
- | Looking for community-made commands/mini-games? | + | < |
+ | ^ Variable ^ Description ^ Vip Exclusive? ^ | ||
+ | | @btag@ | ||
+ | | @cmdstatus@[!command] | Checks if a custom command you have created is either enabled or disabled.| Yes | | ||
+ | | @cost@ | Tells the user how much it cost to execute the custom command. | No | | ||
+ | | @counter@ | Counts the number of times a command has been executed successfully. The value that this pulls from the command can be reset in the custom command editor. | No | | ||
+ | | @customapi@[InsertAPIURLHere] | Use your own custom API. Include the brackets when making the command. (See the examples below.) | No | | ||
+ | | @disablecmd@[!command] | Disables a command. | Yes | | ||
+ | | @discordinfo@[username] | Assuming the viewer in question has linked their Discord account this variable retrieves the user's Discord name or ID. e.g. \\ @discordinfo@[expertsonline] or @discordinfo@[@user@, | ||
+ | | @enablecmd@[!command] | Enables a command. | Yes | | ||
+ | | @escrow@ | Gets the number of points the user has currently placed in bets, raffles, and mini-games. | No | | ||
+ | | @followers@ | Total number of users following the channel. | No | | ||
+ | | @game@ | Displays what is currently being streamed in the channel. | No | | ||
+ | | @getcounter@[!command] | Grabs the counter of a command. (E.g. for a death counter mods could use a mod only custom command !adddeath to add the death to the counter. Viewers could use !death which contains " | ||
+ | | @hours@ | Total number of hours the user has been watching the stream. | No | | ||
+ | | @hrstolevelup@ | Number of hours until the user reaches the next stream rank. | No | | ||
+ | | @intpoints@ | Pulls points without the thousands separator. | No | | ||
+ | | @joindate@ | The date the user first joined the channel. | No | | ||
+ | | @mkdir@[pathname] | Custom variable to allow ' | ||
+ | | @nextrank@ | Shows the next stream rank. | No | | ||
+ | | @points@ | Displays the user's points. | No | | ||
+ | | @pointsname@ | Name of the channel currency. | No | | ||
+ | | @pointstolevelup@ | Number of points until the user reaches the next stream rank. | No | | ||
+ | | @randomuser@ | Picks a random user currently in the channel. | No | | ||
+ | | @remotesound@[delay, | ||
+ | | @slabspoints@[check%%|%%@user@] | Command to get the points on the Stream Labs platform. | Yes | | ||
+ | | @slabspoints@[deposit%%|%%@user@%%|%%20%%|%%1] | Command to deposit 20 points into the Stream Labs platform. The last parameter is the multiplier, e.g. use 0.99 to add a 1% transfer fee. Returns " | ||
+ | | @slabspoints@[withdraw%%|%%@user@%%|%%20%%|%%1] | Command to withdraw 20 points from the Stream Labs platform. The last parameter is the multiplier, e.g. use 0.99 to add a 1% transfer fee. Returns " | ||
+ | | @setcounter@[!command%%|%%number] | Sets the counter of a command. Useful if you need to manually edit the counter at a moment' | ||
+ | | @streamrank@ | Displays the user's stream rank. | No | | ||
+ | | @target@ | Returns everything that has been entered after the command | No | | ||
+ | | @target@[x] | Returns what has been entered at a specific location after the command. x is the position (starting at 1) of the word you would like to return. | ||
+ | | @target@[x%%|%%y] | Returns what has been entered after the command between a specific range. x is the starting position and y is the ending position. The first position is always 1 | No | | ||
+ | | @time@ | Displays the current time on the computer the bot is hosted using the 12-hour clock. | No | | ||
+ | | @time24@ | Displays the current time on the computer the bot is hosted using the 24-hour clock. | No | | ||
+ | | @title@ | Displays the current stream title. | No | | ||
+ | | @uptime@ | Shows the total amount of time the stream has been live (calculated by Twitch). | No | | ||
+ | | @uptime2@ | Similar to @uptime@, except the total time is self-computed by DeepBot, with grace period for crashes/ | ||
+ | | @user@ | Displays the username of the person who executed the command. | No | | ||
+ | | @userclass@ | Displays the class of the user. In order of priority; [Streamer, DeepBot, VIP Gold, VIP Silver, VIP Bronze, Mod Level 2, Mod Level 1, Viewer] | No | | ||
+ | | @viewers@ | Current number of viewers watching the stream. | No | | ||
+ | | @viprank@ | Displays the VIP rank of the user. | No | | ||
+ | | @calc@[operator%%|%%x%%|%%y] | Returns a number depending on the operator used and the numbers (x and y) provided. Operators that can be used are; + (Addition: x + y), - (Subtraction: | ||
+ | | @ctrt@ | Generates a link to retweet a tweet. E.g. Support the stream by retweeting! @ctrt@[658476806278881281] | Yes | | ||
+ | | @ctt@[InsertCustomTweet] | This generates a link to tweet out a custom message specified. E.g. Support the stream by tweeting! < | ||
+ | | @customjsonapi@[URL, | ||
+ | | @customjsonapi2@ | Custom API support with GET/POST capability as well as custom headers. \\ Example GET \\ @customjsonapi2@[{ | ||
+ | | @datetime@[format] | Formatted date/time output. Formatting Details : https:// | ||
+ | | @datetime@[secs] | Convert seconds to human friendly text | Yes | | ||
+ | | @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] | Yes | | ||
+ | | @exec@ | Chains one or more commands from a single command. E.g. @exec@[5, | ||
+ | | @followdate@ | Displays the date the user followed the channel. | Yes | | ||
+ | | @if@[data%%|%%%%|%%matchWith%%|%%%%|%%matchedResult%%|%%%%|%%FailResult] | An if-then statement that compares data and gives a response if it matches or not. | Yes | | ||
+ | | @if@[data%%|%%%%|%%matchWith%%|%%%%|%%matchedResult] | Data is returned if match fails. | Yes | | ||
+ | | @if@[operator%%|%%%%|%%value1%%|%%%%|%%value2%%|%%%%|%%success%%|%%%%|%%fail] | Success if value1 operator value2 is true. Supported operators are: >, >=, <, and <=. (e.g. @if@[> | ||
+ | | @isnumber@[number] | Checks if the input is a number. | Yes | | ||
+ | | @isnumber@[+%%|%%number] | Checks if the input is a positive number. Use - to check for negative numbers. | Yes | | ||
+ | | @isonline@[user] | For checking if the user is currently in chat. | Yes | | ||
+ | | @last5follows@ | Displays the last 5 users who followed the stream. (Also works for timed messages) | Yes | | ||
+ | | @last10follows@ | Displays the last 10 users who followed the stream. (Also works for timed messages) | Yes | | ||
+ | | @lastseen@ | Shows when a user was last seen talking in the channel. | Yes | | ||
+ | | @lookupinfo@[var, | ||
+ | | @rand@[min%%|%%max] | Generates a random number between the minimum and maximum numbers specified. E.g. @rand@[1%%|%%100] | Yes | | ||
+ | | @rand@[min%%|%%max%%|%%unique] | " | ||
+ | | @readfile@[PathToFile\Example.txt] | Reads a line from an existing text file. (By default, it uses the custom logs folder in your DeepBot folder). E.g. @readfile@[followcount.txt] | Yes | | ||
+ | | @readfile@[Line#, | ||
+ | | @replace@[String/ | ||
+ | | @savefile@[PathToFile\Example.txt, | ||
+ | | @savelog@[PathToFile\Example.txt, | ||
+ | | @sendstreamermsg@[message] | Allow the bot to send messages as the streamer. | Yes | | ||
+ | | @sound@[delay, | ||
+ | | @steam@[SteamCommunityID] | Displays Steam ID and the game that person is currently playing. E.g. @steam@[expertsonline] (This goes off your Steam ID, so just use the last part after id/. E.g. http:// | ||
+ | | @subs@ | Displays the total number of users subscribed to the channel. (This only works for partnered Twitch channels.) | Yes | | ||
+ | | @tts@[message] | This will play the message through text-to-speech. e.g. @tts@[Hello, | ||
+ | | @unixtime@ | Numeric time for use in if statements. (Number of seconds since January 1, 1970) | Yes | | ||
+ | | @userinfo1@[username] | Display info from the user in the user database e.g. @userinfo1@[@user@] | Yes | | ||
+ | | @userinfo2@[username] | Display info from the user in the user database e.g. @userinfo2@[@user@] | Yes | | ||
+ | | @userinfo3@[username] | Display info from the user in the user database e.g. @userinfo3@[@user@] | Yes | | ||
+ | | @setuserinfo1@[username%%|%%new info] | sets info1 for the user in the user database | Yes | | ||
+ | | @setuserinfo2@[username%%|%%new info] | sets info2 for the user in the user database | Yes | | ||
+ | | @setuserinfo3@[username%%|%%new info] | sets info3 for the user in the user database | Yes | | ||
+ | | @weather@[city, | ||
+ | | @editvip@[user%%|%%vip_rank%%|%%+days] | Add vip to a selected user. Ei. @editvip@[@target@%%|%%3%%|%%+30] | Yes | | ||
+ | | @obs@[StartStreaming]| Use this to make deepbot start your live stream in Obs with Obs remote | Yes | | ||
+ | | @obs@[StopStreaming] | Use this to make deepbot stop your live stream in Obs with Obs remote | Yes | | ||
+ | | @obs@[EnableFilter%%|%%%%|%%Name of Source/ | ||
+ | | @obs@[DisableFilter%%|%%%%|%%Name of Source/ | ||
+ | | @raffleinfo@ | Shows information about the users raffle entry status | Yes | | ||
+ | | @readdb@[Key To Read] | Reads the provided key from the key/value database. e.g. @readdb@[slots.@user@]. If the value does not exist in the database, or has expired, this variable will return with a blank value. | Yes | | ||
+ | | @savedb@[TTL Value%%|%%Key To Change%%|%%Value To Save] | Save the provided value to the key/value database. e.g. @savedb@[60%%|%%slots.@user@%%|%%50]. The "Time To Live" (TTL) value is the number of seconds you want the provided value to be valid for. After this time has been suppassed, it will " | ||
+ | | @cleardb@[Key to remove] | Clear the Key/Value database of any values that contain the provided key. You can also a single key by specifying the key (i.e. to clear a key called " | ||
+ | | @token@[index%%|%%separator%%|%%search string] | Like @target@ except returns the position based on the separating character (%%|%% cannot be used for the separating character in any instance). Example: @token@[3%%|%%, | ||
+ | | @stream@ | Return the streamer username that is currently connected to Deepbot (Not the Bot Name) | No | | ||
+ | | @streamid@ | Return the user ID of the streamer account currently connected to Deepbot (Not the Bot Name) | No | | ||
+ | | @queuepos[Queue Position%%|%%Queue Number] | Returns the viewer' | ||
+ | | @queuepos[Username%%|%%Queue Number] | Returns the provided viewer' | ||
+ | | @queuewait@[Queue Position%%|%%Queue Number] | Returns the current wait time of the viewer that is current at the stated queue position. | No | | ||
+ | | @queuewait@[Username%%|%%Queue Number] | ||
+ | | @toppoints@[X] | Returns a list of the viewers that hold the most amount of points/ | ||
+ | | @topranks@[X] | Returns a list of the viewers that hold the highest ranks in your channel. X can be a number between 1 and 14. | No | | ||
+ | </ | ||
- | * **[[user_custom_commands|User Made Commands]]** | + | ==== Message Flags (VIP Exclusive) ==== |
- | * **[[custom_mini-games|Custom Command Mini-Games]]** | + | |
- | **__Table | + | There are a couple |
- | * **[[custom_commands# | + | ^ Message Flag ^ Info ^ |
- | * **[[custom_commands# | + | |/ |
- | * **[[custom_commands# | + | |/ |
- | * **[[custom_commands# | + | |/w USERNAME |
+ | |/discord channel=CHANNELNAME |This will force the message to post to the discord server linked in Master Settings to the channel name specified no matter where the command source is from (Discord/ | ||
+ | |\r\n | ||
+ | |\! | ||
+ | ====@LookupInfo@ Variables (VIP Exclusive)==== | ||
+ | @LookupInfo@ is an example of a custom variable that can return multiple pieces of information about a viewer. In order to facilitate this, the use of additional variables are required.\\ | ||
+ | These can be found in the below table.\\ | ||
+ | For example, to return the battletag the user that triggered the command has set up you would put **@lookupinfo@[@l_btag@, | ||
- | ---- | + | < |
+ | ^ Variable ^ Description ^ Lookupinfo Example ^ | ||
+ | | @l_btag@ | Show the battle tag for the user. | @lookupinfo@[@l_btag@, | ||
+ | | @l_followdate@ | Displays the date the user followed the channel. | @lookupinfo@[@l_followdate, | ||
+ | | @l_hours@ | Total number of hours the user has been watching the stream. | @lookupinfo@[@l_hours, | ||
+ | | @l_lastseen@ | Shows when the user was last seen talking in the channel. | @lookupinfo@[@l_lastseen@, | ||
+ | | @l_user@ | Displays the username of the person who executed the command. | @lookupinfo@[@l_user@, | ||
+ | | @l_intpoints@ | Pulls points without the thousands separator. | @lookupinfo@[@l_intpoints@, | ||
+ | | @l_joindate@ | Displays the date the user joined the channel. | @lookupinfo@[@l_joindate@, | ||
+ | | @l_streamrank@ | Displays the user's stream rank. | @lookupinfo@[@l_streamrank@, | ||
+ | | @l_hrstolevelup@ | Number of hours until the user reaches the next stream rank. | @lookupinfo@[@l_hrstolevelup@, | ||
+ | | @l_pointstolevelup@ | Number of points until the user reaches the next stream rank. | @lookupinfo@[@l_pointstolevelup@, | ||
+ | | @l_userclass@ | Displays the class of the user. In order of priority; [Streamer, DeepBot, VIP Gold, VIP Silver, VIP Bronze, Mod Level 2, Mod Level 1, Viewer] | @lookupinfo@[@l_userclass@, | ||
+ | | @l_nextrank@ | Shows the next stream rank. | @lookupinfo@[@l_nextrank@, | ||
+ | | @l_viprank@ | Displays the VIP rank of the user. | @lookupinfo@[@l_viprank@, | ||
+ | </ | ||
- | === Regular Command Variables | + | ==== Custom API Examples |
- | + | ||
- | ---- | + | |
- | + | ||
- | DeepBot allows you to use custom commands in the channel messages module that allow you to deliver dynamic content to your viewers. | + | |
- | + | ||
- | Listed below are the set of custom commands available with DeepBot. Feel some more are needed? Head over to the [[http:// | + | |
- | + | ||
- | ^ Variable ^ Info ^ | + | |
- | | @btag@ | Shows the battle tag of the user. | | + | |
- | | @cmdstatus@[!command] | Checks if a command is enabled or disabled. | | + | |
- | | @cost@ | Tells the user how much it costed if the command was executed. | | + | |
- | | @counter@ | Counts the number of times a command has been executed successfully. | | + | |
- | | @customapi@[InsertAPIURLHere] | Use your own custom API. Include the brackets when making the command. (See the examples below.) | | + | |
- | | @disablecmd@[!command] | Disables a command. | | + | |
- | | @discordinfo@[username] | Retrieves the user's Discord name or ID. e.g. @discordinfo@[expertsonline] or @discordinfo@[@user@, | + | |
- | | @enablecmd@[!command] | Enables a command. | | + | |
- | | @escrow@ | Gets the number of points the user has currently placed in bets, raffles, and mini-games. | | + | |
- | | @followers@ | Total number of users following the channel. | | + | |
- | | @game@ | Displays what is currently being streamed in the channel. | | + | |
- | | @getcounter@[!command] | Grabs the counter of a command. (E.g. mods use !adddeath, while users use !death which can use @getcounter@[!adddeath].) | | + | |
- | | @hours@ | Total number of hours the user has been watching the stream. | | + | |
- | | @hrstolevelup@ | Number of hours until the user reaches the next stream rank. | | + | |
- | | @intpoints@ | Pulls points without the thousands separator. | | + | |
- | | @joindate@ | The date the user first joined the channel. | | + | |
- | | @mkdir@[pathname] | Creates sub-directories (or folders) in the custom logs folder. | + | |
- | | @nextrank@ | Shows the next stream rank. | | + | |
- | | @points@ | Displays the user's points. | | + | |
- | | @pointsname@ | Name of the channel currency. | | + | |
- | | @pointstolevelup@ | Number of points until the user reaches the next stream rank. | | + | |
- | | @randomuser@ | Picks a random user currently in the channel. | | + | |
- | | @remotesound@[delay, | + | |
- | | @slabspoints@[check%%|%%@user@] | Command to get the points on the Stream Labs platform. | | + | |
- | | @slabspoints@[deposit%%|%%@user@%%|%%20%%|%%1] | Command to deposit 20 points into the Stream Labs platform. The last parameter is the multiplier, e.g. use 0.99 to add a 1% transfer fee. Returns " | + | |
- | | @slabspoints@[withdraw%%|%%@user@%%|%%20%%|%%1] | Command to withdraw 20 points from the Stream Labs platform. The last parameter is the multiplier, e.g. use 0.99 to add a 1% transfer fee. Returns " | + | |
- | | @setcounter@[!command%%|%%number] | Sets the counter of a command. (E.g. mods use !adddeath which can use which can use @setcounter@[!death%%|%%10], | + | |
- | | @streamrank@ | Displays the user's stream rank. | | + | |
- | | @target@ | Grabs anything after the initial command. First parameter of channel message. < | + | |
- | | @target@[1] | Similar to @target@, but you can specify multiple targets and have them placed wherever you like. (E.g. @target@[1] hit @target@[2], | + | |
- | | @target@[1%%|%%20] | Grabs an array of targets. (E.g. !name My name is Bob %%|%% @target@[1%%|%%4]) | | + | |
- | | @time@ | Displays the current time on the computer the bot is hosted using the 12-hour clock. | | + | |
- | | @time24@ | Displays the current time on the computer the bot is hosted using the 24-hour clock. | | + | |
- | | @title@ | Displays the current stream title. | | + | |
- | | @uptime@ | Shows the total amount of time the stream has been live (calculated by Twitch). | | + | |
- | | @uptime2@ | Similar to @uptime@, except the total time is self-computed by DeepBot, with grace period for crashes/ | + | |
- | | @user@ | Displays the username of the person who executed the command. | | + | |
- | | @userclass@ | Displays the class of the user. In order of priority; [Streamer, DeepBot, VIP Gold, VIP Silver, VIP Bronze, Mod Level 2, Mod Level 1, Viewer] | | + | |
- | | @viewers@ | Current number of viewers watching the stream. | | + | |
- | | @viprank@ | Displays the VIP rank of the user. | | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === VIP-Exclusive Command Variables === | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ^ Variable ^ Info ^ | + | |
- | | @calc@ | Use operators to calculate mathematical equations. @calc@[op%%|%%num1%%|%%num2] , Available operations (+,-,*,/). E.g. @calc@[+%%|%%5%%|%%4]. | | + | |
- | | @ctrt@ | Generates a link to retweet a tweet. E.g. Support the stream by retweeting! @ctrt@[658476806278881281] | | + | |
- | | @ctt@[InsertCustomTweet | This generates a link to tweet out a custom message specified. E.g. Support the stream by tweeting! < | + | |
- | | @customjsonapi@[URL, | + | |
- | | @datetime@[format] | Formatted date/time output. Formatting Details : https:// | + | |
- | | @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, | + | |
- | | @followdate@ | Displays the date the user followed the channel. | | + | |
- | | @if@[data%%|%%%%|%%matchWith%%|%%%%|%%matchedResult%%|%%%%|%%FailResult] | An if-then statement that compares data and gives a response if it matches or not. | | + | |
- | | @if@[data%%|%%%%|%%matchWith%%|%%%%|%%matchedResult] | Data is returned if match fails. | | + | |
- | | @if@[operator%%|%%%%|%%value1%%|%%%%|%%value2%%|%%%%|%%success%%|%%%%|%%fail] | Success if value1 operator value2 is true. Supported operators are: >, >=, <, and <=. (e.g. @if@[> | + | |
- | | @isnumber@[number] | Checks if the input is a number. | | + | |
- | | @isnumber@[+%%|%%number] | Checks if the input is a positive number. Use - to check for negative numbers. | | + | |
- | | @isonline@[user] | For checking if the user is currently in chat. | | + | |
- | | @last5follows@ | Displays the last 5 users who followed the stream. (Also works for timed messages) | | + | |
- | | @last10follows@ | Displays the last 10 users who followed the stream. (Also works for timed messages) | | + | |
- | | @lastseen@ | Shows when a user was last seen talking in the channel. | | + | |
- | | @lookupinfo@[var, | + | |
- | | @l_btag@ | Show the battle tag for the user. @lookupinfo@[@l_btag@, | + | |
- | | @l_followdate@ | Displays the date the user followed the channel. | | + | |
- | | @l_hours@ | Total number of hours the user has been watching the stream. | | + | |
- | | @l_lastseen@ | Shows when the user was last seen talking in the channel. @lookupinfo@[@l_lastseen@, | + | |
- | | @l_user@ | Displays the username of the person who executed the command. | | + | |
- | | @l_intpoints@ | Pulls points without the thousands separator. | | + | |
- | | @l_joindate@ | Displays the date the user joined the channel. | | + | |
- | | @l_streamrank@ | Displays the user's stream rank. | | + | |
- | | @l_hrstolevelup@ | Number of hours until the user reaches the next stream rank. | | + | |
- | | @l_pointstolevelup@ | Number of points until the user reaches the next stream rank. | | + | |
- | | @l_userclass@ | Displays the class of the user. In order of priority; [Streamer, DeepBot, VIP Gold, VIP Silver, VIP Bronze, Mod Level 2, Mod Level 1, Viewer] | | + | |
- | | @l_nextrank@ | Shows the next stream rank. | | + | |
- | | @l_viprank@ | Displays the VIP rank of the user. | | + | |
- | | @rand@[min%%|%%max] | Generates a random number between the minimum and maximum numbers specified. E.g. @rand@[1%%|%%100] | | + | |
- | | @rand@[min%%|%%max%%|%%unique] | " | + | |
- | | @readfile@[PathToFile\Example.txt] | Reads a line from an existing text file. (By default, it uses the custom logs folder in your DeepBot folder). E.g. @readfile@[followcount.txt] | | + | |
- | | @readfile@[Line#, | + | |
- | | @replace@[String/ | + | |
- | | @savefile@[PathToFile\Example.txt, | + | |
- | | @savelog@[PathToFile\Example.txt, | + | |
- | | @sendstreamermsg@[message] | Allow the bot to send messages as the streamer. | | + | |
- | | @sound@[delay, | + | |
- | | @steam@[SteamCommunityID] | Displays Steam ID and the game that person is currently playing. E.g. @steam@[expertsonline] (This goes off your Steam ID, so just use the last part after id/. E.g. http:// | + | |
- | | @subs@ | Displays the total number of users subscribed to the channel. (This only works for partnered Twitch channels.) | | + | |
- | | @tts@[message] | This will play the message through text-to-speech. e.g. @tts@[Hello, | + | |
- | | @unixtime@ | Numeric time for use in if statements. (Number of seconds since January 1, 1970) | | + | |
- | | @userinfo1@[username] | Display info from the user in the user database e.g. @userinfo1@[@user@] | | + | |
- | | @userinfo2@[username] | Display info from the user in the user database e.g. @userinfo2@[@user@] | | + | |
- | | @userinfo3@[username] | Display info from the user in the user database e.g. @userinfo3@[@user@] | | + | |
- | | @weather@[city, | + | |
- | | /chat or /discord | /chat for messages to post in chat or /discord for it to post into discord. Choose which channel a custom command goes to in discord with /discord channel=name | | + | |
- | | /w | /w and the users name or @user@ will whisper the user that runs the command | | + | |
- | | \r\n | Use \r\n if you would like to skip a like which will make the bot post anything after it as a new message | | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | === Custom API Examples | + | |
- | ---- | + | |
Custom API Examples (These are free to use, however they aren't guaranteed to be working 100%): | Custom API Examples (These are free to use, however they aren't guaranteed to be working 100%): | ||
Line 140: | Line 154: | ||
You can find more API Examples **[[custom_api|Here]]**. | You can find more API Examples **[[custom_api|Here]]**. | ||
- | ---- | + | ==== Custom Command Examples ==== |
- | + | ||
- | === Custom Command Examples === | + | |
- | + | ||
- | ---- | + | |
^ Command | ^ Command | ||
Line 160: | Line 170: | ||
|!uptime|Displays the stream' | |!uptime|Displays the stream' | ||
|!weather|Displays the current weather for the location specified|@weather@[@target@[1], | |!weather|Displays the current weather for the location specified|@weather@[@target@[1], | ||
+ | |!so| A shoutout command that says the game last played|< | ||
+ | /me Go Follow @target@ at www.twitch.tv/ | ||
+ | </ |