From d24820bf1beed2bababdf91b1c6cd025a471c07d Mon Sep 17 00:00:00 2001 From: WhazzItToYa Date: Fri, 10 Oct 2025 13:48:19 -0700 Subject: [PATCH] Add file/folder-exists subactions --- .../1.sub-actions/core/file-io/file-exists.md | 18 ++++++++++++++++++ .../core/file-io/folder-exists.md | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 streamerbot/3.api/1.sub-actions/core/file-io/file-exists.md create mode 100644 streamerbot/3.api/1.sub-actions/core/file-io/folder-exists.md diff --git a/streamerbot/3.api/1.sub-actions/core/file-io/file-exists.md b/streamerbot/3.api/1.sub-actions/core/file-io/file-exists.md new file mode 100644 index 00000000..01398040 --- /dev/null +++ b/streamerbot/3.api/1.sub-actions/core/file-io/file-exists.md @@ -0,0 +1,18 @@ +--- +title: File Exists +description: Determines if a given file exists +version: 1.0.1 +parameters: + - name: File to Check if Exists + type: File + required: true + description: Select the file to check, or enter a path + - name: Variable Name + type: Text + default: fileExists + description: The variable name to contain the result. +variables: + - name: fileExists + type: bool + description: `True` if the file exists, `False` if it doesn't. +--- diff --git a/streamerbot/3.api/1.sub-actions/core/file-io/folder-exists.md b/streamerbot/3.api/1.sub-actions/core/file-io/folder-exists.md new file mode 100644 index 00000000..48fcefe1 --- /dev/null +++ b/streamerbot/3.api/1.sub-actions/core/file-io/folder-exists.md @@ -0,0 +1,18 @@ +--- +title: Folder Exists +description: Determines if a given folder exists +version: 1.0.1 +parameters: + - name: Folder to Check if Exists + type: File + required: true + description: Select the folder to check, or enter a path + - name: Variable Name + type: Text + default: folderExists + description: The variable name to contain the result. +variables: + - name: folderExists + type: bool + description: `True` if the folder exists, `False` if it doesn't. +---