Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Whipstickgostop committed Oct 30, 2023
2 parents 95fdc8e + 1f09a13 commit be40dc0
Show file tree
Hide file tree
Showing 31 changed files with 208 additions and 278 deletions.
18 changes: 0 additions & 18 deletions streamerbot/3.api/2.triggers/3.general/Core/Processes.md

This file was deleted.

19 changes: 0 additions & 19 deletions streamerbot/3.api/2.triggers/3.general/Core/Websocket/Client.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Command Cooldown

Command Cooldown trigger.

## Details
This event triggers when a command is used whilst it is in cooldown.
Triggered when a command has been triggered with an active cooldown

## Parameters
### `Commands`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Command Triggered
Command Triggered trigger.

## Details
This event triggers when a command is triggered.
Execute an action when a command has been triggered

## Parameters
### `Commands`
Expand All @@ -18,14 +15,14 @@ Name | Description
`commandSource` | The command source <br> `twitch`/`youtube`
`commandType` | The type of the command e.g. `message`
`msgId` | The unique message id for this message
`rawInput` | The message entered, if the command was a Starts With, this will be removed
`rawInput` | The message entered, if the command was a Starts With, this will be removed
`rawInputEscaped` | The message escaped
`rawInputUrlEncoded` | The message URL encoded
`input#` | The # word of the message entered, spaces are delimiters and variable names are 0 indexed, so `input0` would give the first word, `input1` would give the second, and so on
`inputEscaped#` | The indexed word escaped
`inputUrlEncoded#` | The indexed word URL encoded
`role` | What role the user has `(1-4)` <br> 4=`Broadcaster` 3=`Mod` 2=`VIP` 1=`Viewer`
`counter` | A running total of how many times a command has been run since application launch (if
`counter` | A running total of how many times a command has been run since application launch (if

:variables{name=TwitchUser disclosure}
:variables{name=TwitchBroadcaster disclosure}
30 changes: 30 additions & 0 deletions streamerbot/3.api/2.triggers/3.general/core/processes/started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Process Started

Process Started trigger.

## Details

This event triggers when a process is started.

## Parameters

### `Name`

Input the name of the process to watch for.

::callout{icon=i-mdi-lightbulb color=amber}
Leaving this blank is considered a catch-all and will trigger on ANY process started.
::

## Variables

:variables-description

Name | Description
----:|:------------
`name` | Name of the process watched for.
`executable` | Name of the process executable.
`path` | Path to the directory of the process.
`fullPath` | Exact path of the process executable.
`processId` | ID used in Windows for the process.
`parentProcessId` | ID of the program that launched the process.
30 changes: 30 additions & 0 deletions streamerbot/3.api/2.triggers/3.general/core/processes/stopped.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Process Stopped

Process Stopped trigger.

## Details

This event triggers when a process is stopped.

## Parameters

### `Name`

Input the name of the process to watch for.

::callout{icon=i-mdi-lightbulb color=amber}
Leaving this blank is considered a catch-all and will trigger on ANY process stopped.
::

## Variables

:variables-description

Name | Description
----:|:------------
`name` | Name of the process watched for.
`executable` | Name of the process executable.
`path` | Path to the directory of the process.
`fullPath` | Exact path of the process executable.
`processId` | ID used in Windows for the process.
`parentProcessId` | ID of the program that launched the process.
Loading

0 comments on commit be40dc0

Please sign in to comment.