mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-22 05:54:36 +00:00
Suppress obsolete warnings in deprecated code
This commit is contained in:
parent
97450482d9
commit
4e0f23c033
6 changed files with 12 additions and 5 deletions
|
@ -127,6 +127,7 @@ public sealed class ShardInstance : IDisposable {
|
|||
#endif
|
||||
}
|
||||
|
||||
#pragma warning disable CS0618
|
||||
/// <summary>
|
||||
/// Determines if the incoming message is an incoming command, and dispatches to the appropriate handler if necessary.
|
||||
/// </summary>
|
||||
|
@ -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) {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using BirthdayBot.Data;
|
||||
#pragma warning disable CS0618
|
||||
using BirthdayBot.Data;
|
||||
using NodaTime;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text.RegularExpressions;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using BirthdayBot.Data;
|
||||
#pragma warning disable CS0618
|
||||
using BirthdayBot.Data;
|
||||
using System.Text;
|
||||
|
||||
namespace BirthdayBot.TextCommands;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using BirthdayBot.Data;
|
||||
#pragma warning disable CS0618
|
||||
using BirthdayBot.Data;
|
||||
using System.Text;
|
||||
|
||||
namespace BirthdayBot.TextCommands;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using BirthdayBot.Data;
|
||||
#pragma warning disable CS0618
|
||||
using BirthdayBot.Data;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using BirthdayBot.Data;
|
||||
#pragma warning disable CS0618
|
||||
using BirthdayBot.Data;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace BirthdayBot.TextCommands;
|
||||
|
|
Loading…
Reference in a new issue