diff --git a/ShardInstance.cs b/ShardInstance.cs index 98078ff..c8878b1 100644 --- a/ShardInstance.cs +++ b/ShardInstance.cs @@ -127,6 +127,7 @@ public sealed class ShardInstance : IDisposable { #endif } +#pragma warning disable CS0618 /// /// Determines if the incoming message is an incoming command, and dispatches to the appropriate handler if necessary. /// @@ -166,6 +167,7 @@ public sealed class ShardInstance : IDisposable { } } } +#pragma warning restore CS0618 // Slash command preparation and invocation private async Task DiscordClient_InteractionCreated(SocketInteraction arg) { diff --git a/TextCommands/CommandsCommon.cs b/TextCommands/CommandsCommon.cs index 44d444d..1cf9d5f 100644 --- a/TextCommands/CommandsCommon.cs +++ b/TextCommands/CommandsCommon.cs @@ -1,4 +1,5 @@ -using BirthdayBot.Data; +#pragma warning disable CS0618 +using BirthdayBot.Data; using NodaTime; using System.Collections.ObjectModel; using System.Text.RegularExpressions; diff --git a/TextCommands/HelpInfoCommands.cs b/TextCommands/HelpInfoCommands.cs index 9adcda1..3375620 100644 --- a/TextCommands/HelpInfoCommands.cs +++ b/TextCommands/HelpInfoCommands.cs @@ -1,4 +1,5 @@ -using BirthdayBot.Data; +#pragma warning disable CS0618 +using BirthdayBot.Data; using System.Text; namespace BirthdayBot.TextCommands; diff --git a/TextCommands/ListingCommands.cs b/TextCommands/ListingCommands.cs index 684b7b5..6bc870f 100644 --- a/TextCommands/ListingCommands.cs +++ b/TextCommands/ListingCommands.cs @@ -1,4 +1,5 @@ -using BirthdayBot.Data; +#pragma warning disable CS0618 +using BirthdayBot.Data; using System.Text; namespace BirthdayBot.TextCommands; diff --git a/TextCommands/ManagerCommands.cs b/TextCommands/ManagerCommands.cs index 166064c..696972c 100644 --- a/TextCommands/ManagerCommands.cs +++ b/TextCommands/ManagerCommands.cs @@ -1,4 +1,5 @@ -using BirthdayBot.Data; +#pragma warning disable CS0618 +using BirthdayBot.Data; using System.Text; using System.Text.RegularExpressions; diff --git a/TextCommands/UserCommands.cs b/TextCommands/UserCommands.cs index 8f7b318..9fd8d52 100644 --- a/TextCommands/UserCommands.cs +++ b/TextCommands/UserCommands.cs @@ -1,4 +1,5 @@ -using BirthdayBot.Data; +#pragma warning disable CS0618 +using BirthdayBot.Data; using System.Text.RegularExpressions; namespace BirthdayBot.TextCommands;