diff --git a/Clients/CompatApiClient/Compression/CompressedContent.cs b/Clients/CompatApiClient/Compression/CompressedContent.cs index c31e845a..699402e5 100644 --- a/Clients/CompatApiClient/Compression/CompressedContent.cs +++ b/Clients/CompatApiClient/Compression/CompressedContent.cs @@ -1,5 +1,4 @@ -using System; -using System.IO; +using System.IO; using System.Net; using System.Net.Http; using System.Threading.Tasks; diff --git a/Clients/CompatApiClient/Compression/DecompressedContent.cs b/Clients/CompatApiClient/Compression/DecompressedContent.cs index 77945fe9..6ed7d132 100644 --- a/Clients/CompatApiClient/Compression/DecompressedContent.cs +++ b/Clients/CompatApiClient/Compression/DecompressedContent.cs @@ -1,5 +1,4 @@ -using System; -using System.IO; +using System.IO; using System.Net; using System.Net.Http; using System.Threading.Tasks; diff --git a/Clients/IrdLibraryClient/IrdFormat/IrdParser.cs b/Clients/IrdLibraryClient/IrdFormat/IrdParser.cs index 71ea47ca..f709077e 100644 --- a/Clients/IrdLibraryClient/IrdFormat/IrdParser.cs +++ b/Clients/IrdLibraryClient/IrdFormat/IrdParser.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.IO.Hashing; diff --git a/Clients/IrdLibraryClient/POCOs/SearchResult.cs b/Clients/IrdLibraryClient/POCOs/SearchResult.cs index ad02a8f9..9f84ea80 100644 --- a/Clients/IrdLibraryClient/POCOs/SearchResult.cs +++ b/Clients/IrdLibraryClient/POCOs/SearchResult.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Text.Json.Serialization; namespace IrdLibraryClient.POCOs; diff --git a/Clients/MediafireClient/Client.cs b/Clients/MediafireClient/Client.cs index 39a3113d..84025c5d 100644 --- a/Clients/MediafireClient/Client.cs +++ b/Clients/MediafireClient/Client.cs @@ -1,9 +1,7 @@ using System; -using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Json; -using System.Runtime.InteropServices; using System.Text.Json; using System.Text.Json.Serialization; using System.Text.RegularExpressions; diff --git a/CompatBot/Commands/BotStats.cs b/CompatBot/Commands/BotStats.cs index 857c750d..d8312787 100644 --- a/CompatBot/Commands/BotStats.cs +++ b/CompatBot/Commands/BotStats.cs @@ -1,5 +1,4 @@ -using System.IO; -using System.Runtime.InteropServices; +using System.Runtime.InteropServices; using CompatApiClient; using CompatApiClient.Utils; using CompatBot.Database; diff --git a/CompatBot/Commands/Explain.cs b/CompatBot/Commands/Explain.cs index 459f594a..1c87cee2 100644 --- a/CompatBot/Commands/Explain.cs +++ b/CompatBot/Commands/Explain.cs @@ -3,7 +3,6 @@ using System.Globalization; using System.IO; using System.Net.Http; using System.Runtime.InteropServices; -using System.Text.RegularExpressions; using CompatApiClient.Compression; using CompatApiClient.Utils; using CompatBot.Commands.Attributes; diff --git a/CompatBot/Commands/Psn.Check.cs b/CompatBot/Commands/Psn.Check.cs index 93b8efbe..e799c5bf 100644 --- a/CompatBot/Commands/Psn.Check.cs +++ b/CompatBot/Commands/Psn.Check.cs @@ -1,5 +1,4 @@ -using System.Text.RegularExpressions; -using CompatApiClient; +using CompatApiClient; using CompatApiClient.Utils; using CompatBot.Commands.Attributes; using CompatBot.Database; diff --git a/CompatBot/Commands/Psn.cs b/CompatBot/Commands/Psn.cs index f02051e7..fbd8f753 100644 --- a/CompatBot/Commands/Psn.cs +++ b/CompatBot/Commands/Psn.cs @@ -1,5 +1,4 @@ -using System.Text.RegularExpressions; -using CompatBot.Commands.Attributes; +using CompatBot.Commands.Attributes; using CompatBot.Database; using CompatBot.EventHandlers; using CompatBot.ThumbScrapper; diff --git a/CompatBot/Commands/Sudo.cs b/CompatBot/Commands/Sudo.cs index c7a2cbb4..05f2f461 100644 --- a/CompatBot/Commands/Sudo.cs +++ b/CompatBot/Commands/Sudo.cs @@ -9,7 +9,6 @@ using CompatBot.Database; using Microsoft.EntityFrameworkCore; using NLog; using SharpCompress.Common; -using SharpCompress.Compressors; using SharpCompress.Compressors.Deflate; using SharpCompress.Writers; using SharpCompress.Writers.Zip; diff --git a/CompatBot/Commands/Vision.cs b/CompatBot/Commands/Vision.cs index 65df61ca..9fdf7196 100644 --- a/CompatBot/Commands/Vision.cs +++ b/CompatBot/Commands/Vision.cs @@ -16,10 +16,8 @@ using SixLabors.ImageSharp.Processing; using Color = SixLabors.ImageSharp.Color; using FontStyle = SixLabors.Fonts.FontStyle; using Image = SixLabors.ImageSharp.Image; -using PointF = SixLabors.ImageSharp.PointF; using Rectangle = SixLabors.ImageSharp.Rectangle; using RectangleF = SixLabors.ImageSharp.RectangleF; -using Size = SixLabors.ImageSharp.Size; using SystemFonts = SixLabors.Fonts.SystemFonts; namespace CompatBot.Commands; diff --git a/CompatBot/Database/Providers/ContentFilter.cs b/CompatBot/Database/Providers/ContentFilter.cs index 82f55499..84ca7d11 100644 --- a/CompatBot/Database/Providers/ContentFilter.cs +++ b/CompatBot/Database/Providers/ContentFilter.cs @@ -4,7 +4,6 @@ using CompatBot.Commands; using CompatBot.EventHandlers; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; -using NLog; using NReco.Text; namespace CompatBot.Database.Providers; diff --git a/CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs b/CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs index 9999570c..ad6a6bbc 100644 --- a/CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs +++ b/CompatBot/EventHandlers/LogParsing/SourceHandlers/GoogleDriveHandler.cs @@ -6,7 +6,6 @@ using CompatBot.EventHandlers.LogParsing.ArchiveHandlers; using Google.Apis.Auth.OAuth2; using Google.Apis.Download; using Google.Apis.Drive.v3; -using Google.Apis.Services; using FileMeta = Google.Apis.Drive.v3.Data.File; namespace CompatBot.EventHandlers.LogParsing.SourceHandlers; diff --git a/CompatBot/EventHandlers/LogParsing/SourceHandlers/OneDriveSourceHandler.cs b/CompatBot/EventHandlers/LogParsing/SourceHandlers/OneDriveSourceHandler.cs index 809178da..b1343f93 100644 --- a/CompatBot/EventHandlers/LogParsing/SourceHandlers/OneDriveSourceHandler.cs +++ b/CompatBot/EventHandlers/LogParsing/SourceHandlers/OneDriveSourceHandler.cs @@ -3,7 +3,6 @@ using System.Net.Http; using System.Text.RegularExpressions; using CompatBot.EventHandlers.LogParsing.ArchiveHandlers; using OneDriveClient; -using OneDriveClient.POCOs; namespace CompatBot.EventHandlers.LogParsing.SourceHandlers; diff --git a/CompatBot/Utils/ColorGetter.cs b/CompatBot/Utils/ColorGetter.cs index 4df7ae5f..fe1db6ff 100644 --- a/CompatBot/Utils/ColorGetter.cs +++ b/CompatBot/Utils/ColorGetter.cs @@ -1,6 +1,5 @@ using System.Drawing; using System.IO; -using System.Runtime.InteropServices; using ColorThiefDotNet; using SixLabors.ImageSharp.PixelFormats; diff --git a/CompatBot/Utils/Extensions/StringUtils.cs b/CompatBot/Utils/Extensions/StringUtils.cs index 5e309a1d..54f38635 100644 --- a/CompatBot/Utils/Extensions/StringUtils.cs +++ b/CompatBot/Utils/Extensions/StringUtils.cs @@ -1,5 +1,4 @@ using System.Buffers; -using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text.RegularExpressions; using CompatBot.Utils.Extensions; diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.CurrentSettingsSections.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.CurrentSettingsSections.cs index e305a1b8..8c40be0f 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.CurrentSettingsSections.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.CurrentSettingsSections.cs @@ -1,5 +1,4 @@ using System.Collections.Specialized; -using System.Text.RegularExpressions; using CompatApiClient.Utils; using CompatBot.EventHandlers.LogParsing; diff --git a/CompatBot/Utils/ResultFormatters/TitleInfoFormatter.cs b/CompatBot/Utils/ResultFormatters/TitleInfoFormatter.cs index 1b9a8f35..7063e5a8 100644 --- a/CompatBot/Utils/ResultFormatters/TitleInfoFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/TitleInfoFormatter.cs @@ -4,7 +4,6 @@ using CompatApiClient.POCOs; using CompatApiClient.Utils; using CompatBot.Database; using CompatBot.Database.Providers; -using Microsoft.Extensions.Caching.Memory; namespace CompatBot.Utils.ResultFormatters; diff --git a/CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs b/CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs index 0eb0108f..f2161926 100644 --- a/CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs @@ -1,5 +1,4 @@ using System.IO; -using System.Text.RegularExpressions; using CompatApiClient.Utils; using CompatBot.Database.Providers; using CompatBot.ThumbScrapper; diff --git a/CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs b/CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs index 9d609a88..e57de5ab 100644 --- a/CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/UpdateInfoFormatter.cs @@ -1,5 +1,4 @@ -using System.Globalization; -using System.IO; +using System.IO; using System.Text.RegularExpressions; using CompatApiClient.POCOs; using CompatApiClient.Utils; diff --git a/Tests/StringUtilTests.cs b/Tests/StringUtilTests.cs index 07f9f471..fcb31cca 100644 --- a/Tests/StringUtilTests.cs +++ b/Tests/StringUtilTests.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using CompatBot.EventHandlers; using CompatBot.Utils; using CompatBot.Utils.Extensions;