diff --git a/streamerbot/2.guide/02.triggers.md b/streamerbot/2.guide/02.triggers.md index 76d6e9d5..45e9d0e9 100644 --- a/streamerbot/2.guide/02.triggers.md +++ b/streamerbot/2.guide/02.triggers.md @@ -211,4 +211,4 @@ This is only for user convenience and does not change the process of triggering ``` :: -:read-more{to="/api/csharp/core/triggers"} \ No newline at end of file +:read-more{to="/api/csharp/methods/core/triggers"} \ No newline at end of file diff --git a/streamerbot/3.api/.variables/General.md b/streamerbot/3.api/.variables/General.md index 40bf4c86..4e53fa30 100644 --- a/streamerbot/3.api/.variables/General.md +++ b/streamerbot/3.api/.variables/General.md @@ -33,10 +33,10 @@ variables: value: Twitch/Chat - name: __source type: EventType - description: The event which triggered the action.
_This will not always exist and requires C# to access, [read more](/api/csharp/core/events)_ + description: The event which triggered the action.
_This will not always exist and requires C# to access, [read more](/api/csharp/enums/event-type)_ value: TwitchChatMessage - name: eventSource type: EventSource - description: The service of the event which triggered the action.
_This will not always exist and requires C# to access, [read more](/api/csharp/core/events)_ + description: The service of the event which triggered the action.
_This will not always exist and requires C# to access, [read more](/api/csharp/enums/event-source)_ value: twitch --- diff --git a/streamerbot/3.api/3.csharp/3.methods/core/triggers/register-custom-trigger.md b/streamerbot/3.api/3.csharp/3.methods/core/triggers/register-custom-trigger.md index 329366ae..e0fd64da 100644 --- a/streamerbot/3.api/3.csharp/3.methods/core/triggers/register-custom-trigger.md +++ b/streamerbot/3.api/3.csharp/3.methods/core/triggers/register-custom-trigger.md @@ -1,6 +1,6 @@ ---- -name: RegisterCustomTrigger -title: RegisterCustomTrigger +--- +name: RegisterCustomTrigger +title: RegisterCustomTrigger description: Register a custom trigger version: 0.2.0 parameters: @@ -13,7 +13,7 @@ parameters: type: string required: true description: | - Define the name of the event for later use in [TriggerCodeEvent](/api/csharp/core/triggers#TriggerCodeEvent) method + Define the name of the event for later use in [TriggerCodeEvent](/api/csharp/methods/core/triggers/trigger-code-event) method - name: categories type: String[] required: true @@ -46,5 +46,5 @@ example: | // in the Init() method as shown above return true; } - } + } --- \ No newline at end of file diff --git a/streamerbot/3.api/3.csharp/3.methods/core/triggers/trigger-code-event.md b/streamerbot/3.api/3.csharp/3.methods/core/triggers/trigger-code-event.md index c18c1f49..89fa9e3b 100644 --- a/streamerbot/3.api/3.csharp/3.methods/core/triggers/trigger-code-event.md +++ b/streamerbot/3.api/3.csharp/3.methods/core/triggers/trigger-code-event.md @@ -1,6 +1,8 @@ --- name: TriggerCodeEvent title: TriggerCodeEvent -description: Triggers a custom code event name (see [RegisterCustomTrigger](/api/csharp/core/triggers#RegisterCustomTrigger)) +description: Triggers a custom code event name version: 0.2.5 ---- \ No newline at end of file +--- + +::read-more{to=/api/csharp/methods/core/triggers/register-custom-trigger} \ No newline at end of file diff --git a/streamerbot/3.api/4.websocket/3.requests.md b/streamerbot/3.api/4.websocket/3.requests.md index e4fe65d0..9e0fd2ca 100644 --- a/streamerbot/3.api/4.websocket/3.requests.md +++ b/streamerbot/3.api/4.websocket/3.requests.md @@ -676,7 +676,7 @@ Fetch a list of all active viewers for connected broadcaster accounts. :: ### `GetCodeTriggers` -Returns the list of [code triggers](/api/csharp/core/triggers#RegisterCustomTrigger) available to be invoked by [ExecuteCodeTrigger](#executecodetrigger). +Returns the list of [code triggers](/api/csharp/methods/core/triggers/register-custom-trigger) available to be invoked by [ExecuteCodeTrigger](#executecodetrigger). ::code-group ```json [Schema] @@ -712,7 +712,7 @@ Returns the list of [code triggers](/api/csharp/core/triggers#RegisterCustomTrig :: ### `ExecuteCodeTrigger` -Triggers a [code trigger](/api/csharp/core/triggers#RegisterCustomTrigger), causing any associated actions to be executed. +Triggers a [code trigger](/api/csharp/methods/core/triggers/register-custom-trigger), causing any associated actions to be executed. ::code-group ```json [Schema] diff --git a/streamerbot/4.examples/csharp_obsraw.md b/streamerbot/4.examples/csharp_obsraw.md index e5ba50b8..1a5860f9 100644 --- a/streamerbot/4.examples/csharp_obsraw.md +++ b/streamerbot/4.examples/csharp_obsraw.md @@ -44,7 +44,7 @@ You are probably already familiar with sending OBS Raw requests with Streamer.bo Running that code will send the request, but we still don't have a way to fetch the response information. By taking a look into the docs for the C# methods, we can see that the request also returns a **string**. So we simply declare a string and have the request as its value. - :read-more{to="/api/csharp/obs-studio/raw#ObsSendRaw"} + :read-more{to="/api/csharp/methods/obs-studio/raw/obs-send-raw"} ```cs using System; diff --git a/streamerbot/4.examples/quotes-commands.md b/streamerbot/4.examples/quotes-commands.md index a574be55..6a52a781 100644 --- a/streamerbot/4.examples/quotes-commands.md +++ b/streamerbot/4.examples/quotes-commands.md @@ -110,7 +110,7 @@ Keep in mind this is just an example, and you can customize the sub-actions to y Adding a quote is fairly straightforward, we will create a new action that will be used to add a simple command input as the quote. The quote will be referenced to the streamer, and not the the user who added it via the command. Referencing a quote to a different user when you add it requires you to use the C# methods for adding quotes. - :read-more{to="/api/csharp/core/quotes"} + :read-more{to="/api/csharp/methods/core/quotes"} 1. Creating an action