Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion streamerbot/2.guide/02.triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
:read-more{to="/api/csharp/methods/core/triggers"}
4 changes: 2 additions & 2 deletions streamerbot/3.api/.variables/General.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ variables:
value: Twitch/Chat
- name: __source
type: EventType
description: The event which triggered the action. <br>_This will not always exist and requires C# to access, [read more](/api/csharp/core/events)_
description: The event which triggered the action. <br>_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. <br>_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. <br>_This will not always exist and requires C# to access, [read more](/api/csharp/enums/event-source)_
value: twitch
---
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: RegisterCustomTrigger
title: RegisterCustomTrigger
---
name: RegisterCustomTrigger
title: RegisterCustomTrigger
description: Register a custom trigger
version: 0.2.0
parameters:
Expand All @@ -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
Expand Down Expand Up @@ -46,5 +46,5 @@ example: |
// in the Init() method as shown above
return true;
}
}
}
---
Original file line number Diff line number Diff line change
@@ -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
---
---

::read-more{to=/api/csharp/methods/core/triggers/register-custom-trigger}
4 changes: 2 additions & 2 deletions streamerbot/3.api/4.websocket/3.requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion streamerbot/4.examples/csharp_obsraw.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion streamerbot/4.examples/quotes-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading