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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: GetEventType
description: Fetch the value of the `__source` variable
example: |
using System;
using Streamer.bot.Common.Events; // Add Events namespace

public class CPHInline
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: GetSource
description: Fetch the value of the `eventSource` variable
example: |
using System;
using Streamer.bot.Common.Events; // Add Events namespace

public class CPHInline
{
Expand Down
5 changes: 0 additions & 5 deletions streamerbot/3.api/3.csharp/5.enums/event-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ This enum represents the source of the event that triggered the action.

## Usage Example

::warning
To use the `EventSource` enum in your C# scripts, you must include the `Streamer.bot.Common.Events` namespace
::

:read-more{to=/api/csharp/methods/core/events/get-source}

```csharp
using System;
using Streamer.bot.Common.Events; // Add Events namespace

public class CPHInline
{
Expand Down
5 changes: 0 additions & 5 deletions streamerbot/3.api/3.csharp/5.enums/event-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@ This variable is of type `EventType`{lang=cs}, which is an enumeration (enum) de

## Usage Example

::warning
To use the `EventType` enum in your C# scripts, you must include the `Streamer.bot.Common.Events` namespace
::

:read-more{to=/api/csharp/methods/core/events/get-event-type}

```csharp [Example.cs]
using System;
using Streamer.bot.Common.Events; // Add Events namespace

public class CPHInline
{
Expand Down
Loading