From 776bda23bc92c48d26117ee01f33c1c1fefbd9d7 Mon Sep 17 00:00:00 2001 From: FajitaOfTreason <234828294+FajitaOfTreason@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:59:11 -0700 Subject: [PATCH 1/2] remove info about unneeded Events using --- streamerbot/3.api/3.csharp/5.enums/event-source.md | 5 ----- streamerbot/3.api/3.csharp/5.enums/event-type.md | 5 ----- 2 files changed, 10 deletions(-) diff --git a/streamerbot/3.api/3.csharp/5.enums/event-source.md b/streamerbot/3.api/3.csharp/5.enums/event-source.md index 63fbf329..c7067e38 100644 --- a/streamerbot/3.api/3.csharp/5.enums/event-source.md +++ b/streamerbot/3.api/3.csharp/5.enums/event-source.md @@ -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 { diff --git a/streamerbot/3.api/3.csharp/5.enums/event-type.md b/streamerbot/3.api/3.csharp/5.enums/event-type.md index 3caba9df..70d4cb74 100644 --- a/streamerbot/3.api/3.csharp/5.enums/event-type.md +++ b/streamerbot/3.api/3.csharp/5.enums/event-type.md @@ -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 { From b0eefe0e13bc5dbe20bc134987eb68040032c6bc Mon Sep 17 00:00:00 2001 From: FajitaOfTreason <234828294+FajitaOfTreason@users.noreply.github.com> Date: Sun, 12 Oct 2025 18:15:58 -0700 Subject: [PATCH 2/2] remove Events using from sample code --- .../3.api/3.csharp/3.methods/core/events/get-event-type.md | 1 - streamerbot/3.api/3.csharp/3.methods/core/events/get-source.md | 1 - 2 files changed, 2 deletions(-) diff --git a/streamerbot/3.api/3.csharp/3.methods/core/events/get-event-type.md b/streamerbot/3.api/3.csharp/3.methods/core/events/get-event-type.md index 661c23e7..6da99866 100644 --- a/streamerbot/3.api/3.csharp/3.methods/core/events/get-event-type.md +++ b/streamerbot/3.api/3.csharp/3.methods/core/events/get-event-type.md @@ -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 { diff --git a/streamerbot/3.api/3.csharp/3.methods/core/events/get-source.md b/streamerbot/3.api/3.csharp/3.methods/core/events/get-source.md index 0aca233a..724c0ff7 100644 --- a/streamerbot/3.api/3.csharp/3.methods/core/events/get-source.md +++ b/streamerbot/3.api/3.csharp/3.methods/core/events/get-source.md @@ -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 {