clean up usings

This commit is contained in:
13xforever
2025-03-24 20:38:21 +05:00
parent d3d1570111
commit 12912d464b
16 changed files with 3 additions and 36 deletions

View File

@@ -1,7 +1,6 @@
using CompatBot.Database;
using CompatBot.Database.Providers;
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.Services.Common;
namespace CompatBot.Commands.AutoCompleteProviders;

View File

@@ -1,7 +1,6 @@
using System.Runtime.InteropServices;
using CompatApiClient;
using CompatApiClient.Utils;
using CompatBot.Commands.Checks;
using CompatBot.Database;
using CompatBot.Database.Providers;
using CompatBot.EventHandlers;

View File

@@ -1,19 +1,12 @@
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using CompatApiClient.Compression;
using CompatApiClient.Utils;
using CompatBot.Commands.AutoCompleteProviders;
using CompatBot.Commands.ChoiceProviders;
using CompatBot.Database;
using CompatBot.Database.Providers;
using CompatBot.Utils.Extensions;
using DSharpPlus.Commands.Processors.SlashCommands.ArgumentModifiers;
using DSharpPlus.Interactivity;
using Microsoft.EntityFrameworkCore;
using org.mariuszgromada.math.mxparser.parsertokens;
using Exception = System.Exception;
namespace CompatBot.Commands;

View File

@@ -5,14 +5,9 @@ using System.Runtime.InteropServices;
using CompatApiClient.Compression;
using CompatApiClient.Utils;
using CompatBot.Commands.AutoCompleteProviders;
using CompatBot.Commands.Checks;
using CompatBot.Database;
using CompatBot.Database.Providers;
using CompatBot.EventHandlers;
using DSharpPlus.Commands.Converters;
using DSharpPlus.Commands.Processors.MessageCommands;
using Microsoft.EntityFrameworkCore;
using NLog.LayoutRenderers;
namespace CompatBot.Commands;

View File

@@ -1,5 +1,4 @@
using System.Text.RegularExpressions;
using CompatBot.Commands.Converters;
using CompatBot.Database;
using CompatBot.Database.Providers;
using DSharpPlus.Commands.Processors.TextCommands;

View File

@@ -1,6 +1,4 @@
using System.Text.RegularExpressions;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using CompatBot.Database;
using NReco.Text;
#if DEBUG

View File

@@ -1,6 +1,4 @@
using System.Linq;
using System.Linq.Expressions;
using System.Collections.Concurrent;
using System.Collections.Concurrent;
using Microsoft.VisualStudio.Services.Common;
namespace CompatBot.EventHandlers;

View File

@@ -4,8 +4,6 @@ using CompatApiClient;
using CompatApiClient.POCOs;
using CompatApiClient.Utils;
using CompatBot.Commands;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using CompatBot.Database.Providers;
using CompatBot.Utils.ResultFormatters;
@@ -31,7 +29,7 @@ internal static partial class IsTheGamePlayableHandler
#if !DEBUG
if (!(args.Channel.Id == Config.BotGeneralChannelId
|| LimitedToSpecificChannelsCheck.IsHelpChannel(args.Channel)))
|| args.Channel.IsHelpChannel()))
return;
if (CooldownBuckets.TryGetValue(args.Channel.Id, out var lastCheck)

View File

@@ -1,6 +1,4 @@
using System.Text.RegularExpressions;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
namespace CompatBot.EventHandlers;

View File

@@ -4,7 +4,6 @@ using System.IO.Pipelines;
using System.Net;
using CompatApiClient.Utils;
using CompatBot.Commands;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using CompatBot.Database;
using CompatBot.Database.Providers;

View File

@@ -1,6 +1,4 @@
using System.Text.RegularExpressions;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using CompatBot.Database;
using Microsoft.EntityFrameworkCore;

View File

@@ -1,8 +1,6 @@
using System.Text.RegularExpressions;
using CompatApiClient;
using CompatApiClient.POCOs;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using CompatBot.Database.Providers;
using CompatBot.Utils.ResultFormatters;

View File

@@ -1,5 +1,4 @@
using CompatBot.Commands;
using CompatBot.Utils.Extensions;
using CompatBot.Utils.Extensions;
namespace CompatBot.EventHandlers;

View File

@@ -1,6 +1,4 @@
using System.Text.RegularExpressions;
using CompatBot.Commands.Attributes;
using CompatBot.Commands.Checks;
using DSharpPlus.Commands.Converters;
using DSharpPlus.Commands.Processors.TextCommands;
using DSharpPlus.Commands.Processors.TextCommands.Parsing;

View File

@@ -1,5 +1,4 @@
using System.Collections.Specialized;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;

View File

@@ -1,7 +1,6 @@
using System.Collections.Concurrent;
using System.Diagnostics;
using CompatBot.Commands;
using CompatBot.Database.Providers;
using CompatBot.EventHandlers;
using Microsoft.ApplicationInsights;
using NLog;