diff --git a/src/NadekoBot/Bot.cs b/src/NadekoBot/Bot.cs index 1ca08c0e6..cd0363b4d 100644 --- a/src/NadekoBot/Bot.cs +++ b/src/NadekoBot/Bot.cs @@ -1,6 +1,5 @@ using Microsoft.Extensions.DependencyInjection; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using System.Collections.Immutable; using System.Diagnostics; using System.Reflection; diff --git a/src/NadekoBot/Common/Attributes/OwnerOnlyAttribute.cs b/src/NadekoBot/Common/Attributes/OwnerOnlyAttribute.cs index 3c88919ea..acc57d17b 100644 --- a/src/NadekoBot/Common/Attributes/OwnerOnlyAttribute.cs +++ b/src/NadekoBot/Common/Attributes/OwnerOnlyAttribute.cs @@ -1,5 +1,4 @@ using Microsoft.Extensions.DependencyInjection; -using NadekoBot.Extensions; namespace NadekoBot.Common.Attributes; diff --git a/src/NadekoBot/Common/NadekoModule.cs b/src/NadekoBot/Common/NadekoModule.cs index d54735527..95599735d 100644 --- a/src/NadekoBot/Common/NadekoModule.cs +++ b/src/NadekoBot/Common/NadekoModule.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using System.Globalization; +using System.Globalization; namespace NadekoBot.Modules; diff --git a/src/NadekoBot/Common/PubSub/RedisPubSub.cs b/src/NadekoBot/Common/PubSub/RedisPubSub.cs index 8c699210a..0e131dcb7 100644 --- a/src/NadekoBot/Common/PubSub/RedisPubSub.cs +++ b/src/NadekoBot/Common/PubSub/RedisPubSub.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using StackExchange.Redis; +using StackExchange.Redis; namespace NadekoBot.Common; diff --git a/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs b/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs index 362b538d9..6bd262091 100644 --- a/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs +++ b/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; using System.Text.RegularExpressions; namespace NadekoBot.Common; diff --git a/src/NadekoBot/Common/SmartText/SmartEmbedText.cs b/src/NadekoBot/Common/SmartText/SmartEmbedText.cs index ddc230f98..9c4f35657 100644 --- a/src/NadekoBot/Common/SmartText/SmartEmbedText.cs +++ b/src/NadekoBot/Common/SmartText/SmartEmbedText.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot; +namespace NadekoBot; public sealed record SmartEmbedText : SmartText { diff --git a/src/NadekoBot/Common/TypeReaders/ModuleTypeReader.cs b/src/NadekoBot/Common/TypeReaders/ModuleTypeReader.cs index b96bc07c6..90ef3ab7d 100644 --- a/src/NadekoBot/Common/TypeReaders/ModuleTypeReader.cs +++ b/src/NadekoBot/Common/TypeReaders/ModuleTypeReader.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Common.TypeReaders; +namespace NadekoBot.Common.TypeReaders; public sealed class ModuleTypeReader : NadekoTypeReader { diff --git a/src/NadekoBot/Db/Models/Waifu.cs b/src/NadekoBot/Db/Models/Waifu.cs index 95634ef4c..b05834c7a 100644 --- a/src/NadekoBot/Db/Models/Waifu.cs +++ b/src/NadekoBot/Db/Models/Waifu.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Db.Models; +using NadekoBot.Db.Models; namespace NadekoBot.Services.Database.Models; diff --git a/src/NadekoBot/GlobalUsings.cs b/src/NadekoBot/GlobalUsings.cs index bb2c231ae..2d4e52403 100644 --- a/src/NadekoBot/GlobalUsings.cs +++ b/src/NadekoBot/GlobalUsings.cs @@ -6,7 +6,7 @@ global using NadekoBot; global using NadekoBot.Services; global using NadekoBot.Common; global using NadekoBot.Common.Attributes; -// todo global using Nadekobot.Extensions; +global using NadekoBot.Extensions; global using Discord; global using Discord.Commands; diff --git a/src/NadekoBot/Modules/Administration/Administration.cs b/src/NadekoBot/Modules/Administration/Administration.cs index 6799ceb37..ab95158c3 100644 --- a/src/NadekoBot/Modules/Administration/Administration.cs +++ b/src/NadekoBot/Modules/Administration/Administration.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.TypeReaders.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs b/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs index 61d88df68..44271638b 100644 --- a/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs +++ b/src/NadekoBot/Modules/Administration/AutoAssignRoleCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/DangerousCommands.cs b/src/NadekoBot/Modules/Administration/DangerousCommands.cs index f2b4d6534..b1dd4eae6 100644 --- a/src/NadekoBot/Modules/Administration/DangerousCommands.cs +++ b/src/NadekoBot/Modules/Administration/DangerousCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; #if !GLOBAL_NADEKO namespace NadekoBot.Modules.Administration diff --git a/src/NadekoBot/Modules/Administration/DiscordPermOverrideCommands.cs b/src/NadekoBot/Modules/Administration/DiscordPermOverrideCommands.cs index a672e2533..d1e5340d9 100644 --- a/src/NadekoBot/Modules/Administration/DiscordPermOverrideCommands.cs +++ b/src/NadekoBot/Modules/Administration/DiscordPermOverrideCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.TypeReaders; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/LocalizationCommands.cs b/src/NadekoBot/Modules/Administration/LocalizationCommands.cs index a16242a59..85de159cc 100644 --- a/src/NadekoBot/Modules/Administration/LocalizationCommands.cs +++ b/src/NadekoBot/Modules/Administration/LocalizationCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using System.Globalization; +using System.Globalization; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/LogCommands.cs b/src/NadekoBot/Modules/Administration/LogCommands.cs index b8f498469..b0d4c8e32 100644 --- a/src/NadekoBot/Modules/Administration/LogCommands.cs +++ b/src/NadekoBot/Modules/Administration/LogCommands.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/MuteCommands.cs b/src/NadekoBot/Modules/Administration/MuteCommands.cs index 9fe27e052..4fc966655 100644 --- a/src/NadekoBot/Modules/Administration/MuteCommands.cs +++ b/src/NadekoBot/Modules/Administration/MuteCommands.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Modules.Administration.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/ProtectionCommands.cs b/src/NadekoBot/Modules/Administration/ProtectionCommands.cs index c498f7e5a..4ebf8d929 100644 --- a/src/NadekoBot/Modules/Administration/ProtectionCommands.cs +++ b/src/NadekoBot/Modules/Administration/ProtectionCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Common; using NadekoBot.Modules.Administration.Services; using NadekoBot.Common.TypeReaders.Models; diff --git a/src/NadekoBot/Modules/Administration/PruneCommands.cs b/src/NadekoBot/Modules/Administration/PruneCommands.cs index fe6d2b5c1..b9de5d717 100644 --- a/src/NadekoBot/Modules/Administration/PruneCommands.cs +++ b/src/NadekoBot/Modules/Administration/PruneCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; using ITextChannel = Discord.ITextChannel; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/RoleCommands.cs b/src/NadekoBot/Modules/Administration/RoleCommands.cs index 3632e1441..9ab299add 100644 --- a/src/NadekoBot/Modules/Administration/RoleCommands.cs +++ b/src/NadekoBot/Modules/Administration/RoleCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; using SixLabors.ImageSharp.PixelFormats; using System.Net; diff --git a/src/NadekoBot/Modules/Administration/SelfAssignedRolesCommands.cs b/src/NadekoBot/Modules/Administration/SelfAssignedRolesCommands.cs index 4fa73058b..6096201fc 100644 --- a/src/NadekoBot/Modules/Administration/SelfAssignedRolesCommands.cs +++ b/src/NadekoBot/Modules/Administration/SelfAssignedRolesCommands.cs @@ -1,6 +1,5 @@ using System.Text; using NadekoBot.Modules.Administration.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/SelfCommands.cs b/src/NadekoBot/Modules/Administration/SelfCommands.cs index 366af0184..c81d6256c 100644 --- a/src/NadekoBot/Modules/Administration/SelfCommands.cs +++ b/src/NadekoBot/Modules/Administration/SelfCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/ServerGreetCommands.cs b/src/NadekoBot/Modules/Administration/ServerGreetCommands.cs index f331c7539..9eb7df04f 100644 --- a/src/NadekoBot/Modules/Administration/ServerGreetCommands.cs +++ b/src/NadekoBot/Modules/Administration/ServerGreetCommands.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Modules.Administration; +namespace NadekoBot.Modules.Administration; public partial class Administration { diff --git a/src/NadekoBot/Modules/Administration/Services/AdministrationService.cs b/src/NadekoBot/Modules/Administration/Services/AdministrationService.cs index 53128663e..9c7847463 100644 --- a/src/NadekoBot/Modules/Administration/Services/AdministrationService.cs +++ b/src/NadekoBot/Modules/Administration/Services/AdministrationService.cs @@ -1,7 +1,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Db; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/AutoAssignRoleService.cs b/src/NadekoBot/Modules/Administration/Services/AutoAssignRoleService.cs index 82ee340fd..509a16d65 100644 --- a/src/NadekoBot/Modules/Administration/Services/AutoAssignRoleService.cs +++ b/src/NadekoBot/Modules/Administration/Services/AutoAssignRoleService.cs @@ -3,7 +3,6 @@ using LinqToDB; using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/DiscordPermOverrideService.cs b/src/NadekoBot/Modules/Administration/Services/DiscordPermOverrideService.cs index e3ba6dc44..9b0d73846 100644 --- a/src/NadekoBot/Modules/Administration/Services/DiscordPermOverrideService.cs +++ b/src/NadekoBot/Modules/Administration/Services/DiscordPermOverrideService.cs @@ -1,7 +1,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/GameVoiceChannelService.cs b/src/NadekoBot/Modules/Administration/Services/GameVoiceChannelService.cs index 8709e7b48..7e62c8c61 100644 --- a/src/NadekoBot/Modules/Administration/Services/GameVoiceChannelService.cs +++ b/src/NadekoBot/Modules/Administration/Services/GameVoiceChannelService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Collections; -using NadekoBot.Extensions; using NadekoBot.Db; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/GuildTimezoneService.cs b/src/NadekoBot/Modules/Administration/Services/GuildTimezoneService.cs index c04a6d625..0d9f289dc 100644 --- a/src/NadekoBot/Modules/Administration/Services/GuildTimezoneService.cs +++ b/src/NadekoBot/Modules/Administration/Services/GuildTimezoneService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Services.Database.Models; +using NadekoBot.Services.Database.Models; using NadekoBot.Db; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/ImageOnlyChannelService.cs b/src/NadekoBot/Modules/Administration/Services/ImageOnlyChannelService.cs index f1f759358..997330ffd 100644 --- a/src/NadekoBot/Modules/Administration/Services/ImageOnlyChannelService.cs +++ b/src/NadekoBot/Modules/Administration/Services/ImageOnlyChannelService.cs @@ -4,7 +4,6 @@ using LinqToDB; using Microsoft.Extensions.Caching.Memory; using NadekoBot.Common.Collections; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/LogCommandService.cs b/src/NadekoBot/Modules/Administration/Services/LogCommandService.cs index dcd151480..9644f3551 100644 --- a/src/NadekoBot/Modules/Administration/Services/LogCommandService.cs +++ b/src/NadekoBot/Modules/Administration/Services/LogCommandService.cs @@ -3,7 +3,6 @@ using Microsoft.Extensions.Caching.Memory; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Common; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/MuteService.cs b/src/NadekoBot/Modules/Administration/Services/MuteService.cs index b9840e6d1..0ac94ff53 100644 --- a/src/NadekoBot/Modules/Administration/Services/MuteService.cs +++ b/src/NadekoBot/Modules/Administration/Services/MuteService.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.Collections; -using NadekoBot.Extensions; using NadekoBot.Services.Database.Models; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Administration/Services/ProtectionService.cs b/src/NadekoBot/Modules/Administration/Services/ProtectionService.cs index 13c8f22b1..57f43f8c9 100644 --- a/src/NadekoBot/Modules/Administration/Services/ProtectionService.cs +++ b/src/NadekoBot/Modules/Administration/Services/ProtectionService.cs @@ -1,7 +1,6 @@ using System.Threading.Channels; using NadekoBot.Modules.Administration.Common; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using Microsoft.EntityFrameworkCore; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Administration/Services/PruneService.cs b/src/NadekoBot/Modules/Administration/Services/PruneService.cs index 6bba46235..829db8523 100644 --- a/src/NadekoBot/Modules/Administration/Services/PruneService.cs +++ b/src/NadekoBot/Modules/Administration/Services/PruneService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Collections; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Services/RoleCommandsService.cs b/src/NadekoBot/Modules/Administration/Services/RoleCommandsService.cs index d3476f929..90f149b9b 100644 --- a/src/NadekoBot/Modules/Administration/Services/RoleCommandsService.cs +++ b/src/NadekoBot/Modules/Administration/Services/RoleCommandsService.cs @@ -1,7 +1,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Administration/Services/SelfService.cs b/src/NadekoBot/Modules/Administration/Services/SelfService.cs index 938a6ac06..4af3938a2 100644 --- a/src/NadekoBot/Modules/Administration/Services/SelfService.cs +++ b/src/NadekoBot/Modules/Administration/Services/SelfService.cs @@ -1,6 +1,5 @@ using System.Collections.Immutable; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; diff --git a/src/NadekoBot/Modules/Administration/Services/UserPunishService.cs b/src/NadekoBot/Modules/Administration/Services/UserPunishService.cs index 12a2f27ba..b6e68cf36 100644 --- a/src/NadekoBot/Modules/Administration/Services/UserPunishService.cs +++ b/src/NadekoBot/Modules/Administration/Services/UserPunishService.cs @@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; using NadekoBot.Modules.Permissions.Services; using Newtonsoft.Json; diff --git a/src/NadekoBot/Modules/Administration/TimeZoneCommands.cs b/src/NadekoBot/Modules/Administration/TimeZoneCommands.cs index 13a30811a..4db67bc4f 100644 --- a/src/NadekoBot/Modules/Administration/TimeZoneCommands.cs +++ b/src/NadekoBot/Modules/Administration/TimeZoneCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/UserPunishCommands.cs b/src/NadekoBot/Modules/Administration/UserPunishCommands.cs index eda51ddf6..371d5a28e 100644 --- a/src/NadekoBot/Modules/Administration/UserPunishCommands.cs +++ b/src/NadekoBot/Modules/Administration/UserPunishCommands.cs @@ -2,7 +2,6 @@ using CommandLine; using Humanizer.Localisation; using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Permissions.Services; diff --git a/src/NadekoBot/Modules/Administration/VcRoleCommands.cs b/src/NadekoBot/Modules/Administration/VcRoleCommands.cs index aa09267fc..3020a3dc4 100644 --- a/src/NadekoBot/Modules/Administration/VcRoleCommands.cs +++ b/src/NadekoBot/Modules/Administration/VcRoleCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs index 7ad27c17f..776589b50 100644 --- a/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs +++ b/src/NadekoBot/Modules/CustomReactions/CustomReactions.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.CustomReactions.Services; +using NadekoBot.Modules.CustomReactions.Services; namespace NadekoBot.Modules.CustomReactions; diff --git a/src/NadekoBot/Modules/CustomReactions/Extensions/CustomReactionExtensions.cs b/src/NadekoBot/Modules/CustomReactions/Extensions/CustomReactionExtensions.cs index ce6f2dd71..a05af5177 100644 --- a/src/NadekoBot/Modules/CustomReactions/Extensions/CustomReactionExtensions.cs +++ b/src/NadekoBot/Modules/CustomReactions/Extensions/CustomReactionExtensions.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using System.Runtime.CompilerServices; namespace NadekoBot.Modules.CustomReactions.Extensions; diff --git a/src/NadekoBot/Modules/CustomReactions/Services/CustomReactionsService.cs b/src/NadekoBot/Modules/CustomReactions/Services/CustomReactionsService.cs index 64c5eecc9..068744352 100644 --- a/src/NadekoBot/Modules/CustomReactions/Services/CustomReactionsService.cs +++ b/src/NadekoBot/Modules/CustomReactions/Services/CustomReactionsService.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.CustomReactions.Extensions; using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Services; diff --git a/src/NadekoBot/Modules/Gambling/AnimalRacingCommands.cs b/src/NadekoBot/Modules/Gambling/AnimalRacingCommands.cs index 94e4b073d..27e59d9f8 100644 --- a/src/NadekoBot/Modules/Gambling/AnimalRacingCommands.cs +++ b/src/NadekoBot/Modules/Gambling/AnimalRacingCommands.cs @@ -1,7 +1,6 @@ using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.AnimalRacing; using NadekoBot.Modules.Gambling.Services; -using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions; using NadekoBot.Modules.Games.Services; diff --git a/src/NadekoBot/Modules/Gambling/BlackJackCommands.cs b/src/NadekoBot/Modules/Gambling/BlackJackCommands.cs index a8865199e..94c90c715 100644 --- a/src/NadekoBot/Modules/Gambling/BlackJackCommands.cs +++ b/src/NadekoBot/Modules/Gambling/BlackJackCommands.cs @@ -1,7 +1,6 @@ using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.Blackjack; using NadekoBot.Modules.Gambling.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling; diff --git a/src/NadekoBot/Modules/Gambling/Common/AnimalRacing/AnimalRace.cs b/src/NadekoBot/Modules/Gambling/Common/AnimalRacing/AnimalRace.cs index c1f66424f..dc22a9b9c 100644 --- a/src/NadekoBot/Modules/Gambling/Common/AnimalRacing/AnimalRace.cs +++ b/src/NadekoBot/Modules/Gambling/Common/AnimalRacing/AnimalRace.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions; +using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions; using NadekoBot.Modules.Games.Common; namespace NadekoBot.Modules.Gambling.Common.AnimalRacing; diff --git a/src/NadekoBot/Modules/Gambling/Common/Deck.cs b/src/NadekoBot/Modules/Gambling/Common/Deck.cs index b95df630c..5cadbab52 100644 --- a/src/NadekoBot/Modules/Gambling/Common/Deck.cs +++ b/src/NadekoBot/Modules/Gambling/Common/Deck.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Modules.Gambling.Common; +namespace NadekoBot.Modules.Gambling.Common; public class QuadDeck : Deck { diff --git a/src/NadekoBot/Modules/Gambling/Common/Events/GameStatusEvent.cs b/src/NadekoBot/Modules/Gambling/Common/Events/GameStatusEvent.cs index eef6a6d6c..bf66440cd 100644 --- a/src/NadekoBot/Modules/Gambling/Common/Events/GameStatusEvent.cs +++ b/src/NadekoBot/Modules/Gambling/Common/Events/GameStatusEvent.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling.Common.Events; diff --git a/src/NadekoBot/Modules/Gambling/Common/Events/ReactionEvent.cs b/src/NadekoBot/Modules/Gambling/Common/Events/ReactionEvent.cs index 47bea752e..d6cf739e9 100644 --- a/src/NadekoBot/Modules/Gambling/Common/Events/ReactionEvent.cs +++ b/src/NadekoBot/Modules/Gambling/Common/Events/ReactionEvent.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling.Common.Events; diff --git a/src/NadekoBot/Modules/Gambling/Connect4Commands.cs b/src/NadekoBot/Modules/Gambling/Connect4Commands.cs index 41651e5bb..d7cf07456 100644 --- a/src/NadekoBot/Modules/Gambling/Connect4Commands.cs +++ b/src/NadekoBot/Modules/Gambling/Connect4Commands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Gambling.Common; -using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Common.Connect4; using NadekoBot.Modules.Gambling.Services; using System.Text; diff --git a/src/NadekoBot/Modules/Gambling/CurrencyEventsCommands.cs b/src/NadekoBot/Modules/Gambling/CurrencyEventsCommands.cs index fbd539a36..7bbfb519d 100644 --- a/src/NadekoBot/Modules/Gambling/CurrencyEventsCommands.cs +++ b/src/NadekoBot/Modules/Gambling/CurrencyEventsCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Gambling.Services; +using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Common.Events; using NadekoBot.Services.Database.Models; using NadekoBot.Modules.Gambling.Common; diff --git a/src/NadekoBot/Modules/Gambling/DiceRollCommands.cs b/src/NadekoBot/Modules/Gambling/DiceRollCommands.cs index 71512c146..cddc61dc8 100644 --- a/src/NadekoBot/Modules/Gambling/DiceRollCommands.cs +++ b/src/NadekoBot/Modules/Gambling/DiceRollCommands.cs @@ -1,4 +1,3 @@ -using NadekoBot.Extensions; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System.Text.RegularExpressions; diff --git a/src/NadekoBot/Modules/Gambling/DrawCommands.cs b/src/NadekoBot/Modules/Gambling/DrawCommands.cs index c8c1d644f..a98d80f8a 100644 --- a/src/NadekoBot/Modules/Gambling/DrawCommands.cs +++ b/src/NadekoBot/Modules/Gambling/DrawCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Gambling.Common; +using NadekoBot.Modules.Gambling.Common; using Image = SixLabors.ImageSharp.Image; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; diff --git a/src/NadekoBot/Modules/Gambling/FlipCoinCommands.cs b/src/NadekoBot/Modules/Gambling/FlipCoinCommands.cs index 95050fe73..12df1b9b1 100644 --- a/src/NadekoBot/Modules/Gambling/FlipCoinCommands.cs +++ b/src/NadekoBot/Modules/Gambling/FlipCoinCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Gambling.Common; -using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Services; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; diff --git a/src/NadekoBot/Modules/Gambling/Gambling.cs b/src/NadekoBot/Modules/Gambling/Gambling.cs index a1b6e319e..6f1ab9f84 100644 --- a/src/NadekoBot/Modules/Gambling/Gambling.cs +++ b/src/NadekoBot/Modules/Gambling/Gambling.cs @@ -1,6 +1,5 @@ using NadekoBot.Modules.Gambling.Common; using NadekoBot.Db.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Services; using System.Globalization; using System.Numerics; diff --git a/src/NadekoBot/Modules/Gambling/PlantAndPickCommands.cs b/src/NadekoBot/Modules/Gambling/PlantAndPickCommands.cs index 343358b00..7b108c527 100644 --- a/src/NadekoBot/Modules/Gambling/PlantAndPickCommands.cs +++ b/src/NadekoBot/Modules/Gambling/PlantAndPickCommands.cs @@ -1,4 +1,3 @@ -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Common; diff --git a/src/NadekoBot/Modules/Gambling/Services/Impl/ShopService.cs b/src/NadekoBot/Modules/Gambling/Services/Impl/ShopService.cs index 460685528..f068323ee 100644 --- a/src/NadekoBot/Modules/Gambling/Services/Impl/ShopService.cs +++ b/src/NadekoBot/Modules/Gambling/Services/Impl/ShopService.cs @@ -3,7 +3,6 @@ using NadekoBot.Common.Collections; using NadekoBot.Services.Database; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Modules/Gambling/Services/PlantPickService.cs b/src/NadekoBot/Modules/Gambling/Services/PlantPickService.cs index 9f8e199f8..b1a71e745 100644 --- a/src/NadekoBot/Modules/Gambling/Services/PlantPickService.cs +++ b/src/NadekoBot/Modules/Gambling/Services/PlantPickService.cs @@ -1,7 +1,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using SixLabors.Fonts; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Drawing.Processing; diff --git a/src/NadekoBot/Modules/Gambling/ShopCommands.cs b/src/NadekoBot/Modules/Gambling/ShopCommands.cs index a0b4a3c54..6475946a8 100644 --- a/src/NadekoBot/Modules/Gambling/ShopCommands.cs +++ b/src/NadekoBot/Modules/Gambling/ShopCommands.cs @@ -4,7 +4,6 @@ using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling; diff --git a/src/NadekoBot/Modules/Gambling/SlotCommands.cs b/src/NadekoBot/Modules/Gambling/SlotCommands.cs index c36335a0a..2503711a8 100644 --- a/src/NadekoBot/Modules/Gambling/SlotCommands.cs +++ b/src/NadekoBot/Modules/Gambling/SlotCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using System.Text; +using System.Text; using NadekoBot.Db.Models; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Common; diff --git a/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs b/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs index 3831b06bc..5aacf76ff 100644 --- a/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs +++ b/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Gambling.Common.Waifu; -using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Common; diff --git a/src/NadekoBot/Modules/Games/AcropobiaCommands.cs b/src/NadekoBot/Modules/Games/AcropobiaCommands.cs index 56aee8df5..42c085a81 100644 --- a/src/NadekoBot/Modules/Games/AcropobiaCommands.cs +++ b/src/NadekoBot/Modules/Games/AcropobiaCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using System.Collections.Immutable; +using System.Collections.Immutable; using NadekoBot.Modules.Games.Common.Acrophobia; using NadekoBot.Modules.Games.Services; diff --git a/src/NadekoBot/Modules/Games/Common/Acrophobia/Acrophobia.cs b/src/NadekoBot/Modules/Games/Common/Acrophobia/Acrophobia.cs index dfa18d0d2..2b5f63de5 100644 --- a/src/NadekoBot/Modules/Games/Common/Acrophobia/Acrophobia.cs +++ b/src/NadekoBot/Modules/Games/Common/Acrophobia/Acrophobia.cs @@ -1,6 +1,5 @@ using System.Collections.Immutable; using CommandLine; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Games.Common.Acrophobia; diff --git a/src/NadekoBot/Modules/Games/Common/ChatterBot/ChatterBotSession.cs b/src/NadekoBot/Modules/Games/Common/ChatterBot/ChatterBotSession.cs index 625972683..bc0dd7e80 100644 --- a/src/NadekoBot/Modules/Games/Common/ChatterBot/ChatterBotSession.cs +++ b/src/NadekoBot/Modules/Games/Common/ChatterBot/ChatterBotSession.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace NadekoBot.Modules.Games.Common.ChatterBot; diff --git a/src/NadekoBot/Modules/Games/Common/Hangman/HangmanService.cs b/src/NadekoBot/Modules/Games/Common/Hangman/HangmanService.cs index 893b53370..3cc5e9e3d 100644 --- a/src/NadekoBot/Modules/Games/Common/Hangman/HangmanService.cs +++ b/src/NadekoBot/Modules/Games/Common/Hangman/HangmanService.cs @@ -2,7 +2,6 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Caching.Memory; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using NadekoBot.Modules.Games.Services; namespace NadekoBot.Modules.Games.Hangman; diff --git a/src/NadekoBot/Modules/Games/Common/TicTacToe.cs b/src/NadekoBot/Modules/Games/Common/TicTacToe.cs index c715a84e1..bf01cf75b 100644 --- a/src/NadekoBot/Modules/Games/Common/TicTacToe.cs +++ b/src/NadekoBot/Modules/Games/Common/TicTacToe.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using System.Text; +using System.Text; using CommandLine; namespace NadekoBot.Modules.Games.Common; diff --git a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaGame.cs b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaGame.cs index 6ab740e40..67a5c9892 100644 --- a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaGame.cs +++ b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaGame.cs @@ -1,5 +1,4 @@ using System.Text; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Games.Common.Trivia; diff --git a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestion.cs b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestion.cs index 6821609e7..417366d2f 100644 --- a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestion.cs +++ b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestion.cs @@ -1,5 +1,4 @@ using System.Text.RegularExpressions; -using NadekoBot.Extensions; // THANKS @ShoMinamimoto for suggestions and coding help namespace NadekoBot.Modules.Games.Common.Trivia; diff --git a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestionPool.cs b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestionPool.cs index af82057a8..2cb7a4873 100644 --- a/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestionPool.cs +++ b/src/NadekoBot/Modules/Games/Common/Trivia/TriviaQuestionPool.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Modules.Games.Common.Trivia; +namespace NadekoBot.Modules.Games.Common.Trivia; public class TriviaQuestionPool { diff --git a/src/NadekoBot/Modules/Games/Common/TypingGame.cs b/src/NadekoBot/Modules/Games/Common/TypingGame.cs index ae75c3cb9..33f06e67a 100644 --- a/src/NadekoBot/Modules/Games/Common/TypingGame.cs +++ b/src/NadekoBot/Modules/Games/Common/TypingGame.cs @@ -1,5 +1,4 @@ using System.Diagnostics; -using NadekoBot.Extensions; using NadekoBot.Modules.Games.Services; using CommandLine; diff --git a/src/NadekoBot/Modules/Games/Games.cs b/src/NadekoBot/Modules/Games/Games.cs index 602a00e0d..ecfc862e2 100644 --- a/src/NadekoBot/Modules/Games/Games.cs +++ b/src/NadekoBot/Modules/Games/Games.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Games.Common; +using NadekoBot.Modules.Games.Common; using NadekoBot.Modules.Games.Services; namespace NadekoBot.Modules.Games; diff --git a/src/NadekoBot/Modules/Games/HangmanCommands.cs b/src/NadekoBot/Modules/Games/HangmanCommands.cs index ec072328c..bd44f3789 100644 --- a/src/NadekoBot/Modules/Games/HangmanCommands.cs +++ b/src/NadekoBot/Modules/Games/HangmanCommands.cs @@ -1,5 +1,4 @@ #nullable enable -using NadekoBot.Extensions; using NadekoBot.Modules.Games.Hangman; namespace NadekoBot.Modules.Games; diff --git a/src/NadekoBot/Modules/Games/PollCommands.cs b/src/NadekoBot/Modules/Games/PollCommands.cs index 5d2f1ee5d..8fffb5528 100644 --- a/src/NadekoBot/Modules/Games/PollCommands.cs +++ b/src/NadekoBot/Modules/Games/PollCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Games.Services; +using NadekoBot.Modules.Games.Services; using NadekoBot.Services.Database.Models; using System.Text; diff --git a/src/NadekoBot/Modules/Games/Services/ChatterbotService.cs b/src/NadekoBot/Modules/Games/Services/ChatterbotService.cs index a940f629c..618331425 100644 --- a/src/NadekoBot/Modules/Games/Services/ChatterbotService.cs +++ b/src/NadekoBot/Modules/Games/Services/ChatterbotService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Games.Common.ChatterBot; diff --git a/src/NadekoBot/Modules/Games/Services/GamesService.cs b/src/NadekoBot/Modules/Games/Services/GamesService.cs index 21504a0e4..a597a714e 100644 --- a/src/NadekoBot/Modules/Games/Services/GamesService.cs +++ b/src/NadekoBot/Modules/Games/Services/GamesService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Games.Common; +using NadekoBot.Modules.Games.Common; using NadekoBot.Modules.Games.Common.Acrophobia; using NadekoBot.Modules.Games.Common.Nunchi; using NadekoBot.Modules.Games.Common.Trivia; diff --git a/src/NadekoBot/Modules/Games/Services/PollService.cs b/src/NadekoBot/Modules/Games/Services/PollService.cs index 77a0efc6c..73268ff6f 100644 --- a/src/NadekoBot/Modules/Games/Services/PollService.cs +++ b/src/NadekoBot/Modules/Games/Services/PollService.cs @@ -3,7 +3,6 @@ using NadekoBot.Modules.Games.Common; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Games.Services; diff --git a/src/NadekoBot/Modules/Games/SpeedTypingCommands.cs b/src/NadekoBot/Modules/Games/SpeedTypingCommands.cs index 28bdfa450..e34565ce8 100644 --- a/src/NadekoBot/Modules/Games/SpeedTypingCommands.cs +++ b/src/NadekoBot/Modules/Games/SpeedTypingCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Games.Common; +using NadekoBot.Modules.Games.Common; using NadekoBot.Modules.Games.Services; namespace NadekoBot.Modules.Games; diff --git a/src/NadekoBot/Modules/Help/Help.cs b/src/NadekoBot/Modules/Help/Help.cs index 5673d2cc3..324af26b0 100644 --- a/src/NadekoBot/Modules/Help/Help.cs +++ b/src/NadekoBot/Modules/Help/Help.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Help.Common; -using NadekoBot.Extensions; using NadekoBot.Modules.Help.Services; using NadekoBot.Modules.Permissions.Services; using Newtonsoft.Json; diff --git a/src/NadekoBot/Modules/Help/Services/HelpService.cs b/src/NadekoBot/Modules/Help/Services/HelpService.cs index d5b80c0ed..8f1c28b28 100644 --- a/src/NadekoBot/Modules/Help/Services/HelpService.cs +++ b/src/NadekoBot/Modules/Help/Services/HelpService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Common.ModuleBehaviors; +using NadekoBot.Common.ModuleBehaviors; using CommandLine; using NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Music/Common/Impl/MusicExtensions.cs b/src/NadekoBot/Modules/Music/Common/Impl/MusicExtensions.cs index 1cf417eb1..2292f31c4 100644 --- a/src/NadekoBot/Modules/Music/Common/Impl/MusicExtensions.cs +++ b/src/NadekoBot/Modules/Music/Common/Impl/MusicExtensions.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Modules.Music; +namespace NadekoBot.Modules.Music; public static class MusicExtensions { diff --git a/src/NadekoBot/Modules/Music/Common/Resolvers/RadioResolveStrategy.cs b/src/NadekoBot/Modules/Music/Common/Resolvers/RadioResolveStrategy.cs index 3f59935c1..10e272430 100644 --- a/src/NadekoBot/Modules/Music/Common/Resolvers/RadioResolveStrategy.cs +++ b/src/NadekoBot/Modules/Music/Common/Resolvers/RadioResolveStrategy.cs @@ -1,5 +1,4 @@ using System.Text.RegularExpressions; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Music.Resolvers; diff --git a/src/NadekoBot/Modules/Music/Common/Resolvers/YtdlYoutubeResolver.cs b/src/NadekoBot/Modules/Music/Common/Resolvers/YtdlYoutubeResolver.cs index 4aaa4c2d0..5e472a7f4 100644 --- a/src/NadekoBot/Modules/Music/Common/Resolvers/YtdlYoutubeResolver.cs +++ b/src/NadekoBot/Modules/Music/Common/Resolvers/YtdlYoutubeResolver.cs @@ -1,7 +1,6 @@ #nullable enable using System.Globalization; using System.Text.RegularExpressions; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Music; diff --git a/src/NadekoBot/Modules/Music/Music.cs b/src/NadekoBot/Modules/Music/Music.cs index 7f380282a..80a8b1915 100644 --- a/src/NadekoBot/Modules/Music/Music.cs +++ b/src/NadekoBot/Modules/Music/Music.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Music.Services; diff --git a/src/NadekoBot/Modules/Music/PlaylistCommands.cs b/src/NadekoBot/Modules/Music/PlaylistCommands.cs index 0e4a89d37..1be0d5e31 100644 --- a/src/NadekoBot/Modules/Music/PlaylistCommands.cs +++ b/src/NadekoBot/Modules/Music/PlaylistCommands.cs @@ -1,6 +1,5 @@ using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; using NadekoBot.Modules.Music.Services; namespace NadekoBot.Modules.Music; diff --git a/src/NadekoBot/Modules/Music/Services/MusicService.cs b/src/NadekoBot/Modules/Music/Services/MusicService.cs index 742a1fea7..88b0c85ab 100644 --- a/src/NadekoBot/Modules/Music/Services/MusicService.cs +++ b/src/NadekoBot/Modules/Music/Services/MusicService.cs @@ -2,7 +2,6 @@ using System.Diagnostics.CodeAnalysis; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Music.Services; diff --git a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/DerpibooruImageDownloader.cs b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/DerpibooruImageDownloader.cs index 43f2a476a..f6c44a9d9 100644 --- a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/DerpibooruImageDownloader.cs +++ b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/DerpibooruImageDownloader.cs @@ -1,5 +1,4 @@ using System.Net.Http.Json; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Nsfw.Common; diff --git a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/E621ImageDownloader.cs b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/E621ImageDownloader.cs index f92c40ef1..35f02996a 100644 --- a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/E621ImageDownloader.cs +++ b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/E621ImageDownloader.cs @@ -1,5 +1,4 @@ using System.Net.Http.Json; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Nsfw.Common; diff --git a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/SankakuImageDownloader.cs b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/SankakuImageDownloader.cs index 4b5df3aa4..35997cd0a 100644 --- a/src/NadekoBot/Modules/Nsfw/Common/Downloaders/SankakuImageDownloader.cs +++ b/src/NadekoBot/Modules/Nsfw/Common/Downloaders/SankakuImageDownloader.cs @@ -1,5 +1,4 @@ using System.Text.Json; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Nsfw.Common; diff --git a/src/NadekoBot/Modules/Nsfw/Nsfw.cs b/src/NadekoBot/Modules/Nsfw/Nsfw.cs index ca2f43511..d59d8c957 100644 --- a/src/NadekoBot/Modules/Nsfw/Nsfw.cs +++ b/src/NadekoBot/Modules/Nsfw/Nsfw.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Collections; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Common; using Newtonsoft.Json.Linq; diff --git a/src/NadekoBot/Modules/Nsfw/SearchImageCacher.cs b/src/NadekoBot/Modules/Nsfw/SearchImageCacher.cs index ba86fbe15..711d81417 100644 --- a/src/NadekoBot/Modules/Nsfw/SearchImageCacher.cs +++ b/src/NadekoBot/Modules/Nsfw/SearchImageCacher.cs @@ -1,5 +1,4 @@ using Microsoft.Extensions.Caching.Memory; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Nsfw.Common; diff --git a/src/NadekoBot/Modules/Nsfw/SearchImagesService.cs b/src/NadekoBot/Modules/Nsfw/SearchImagesService.cs index 03f165ec1..a31d9139c 100644 --- a/src/NadekoBot/Modules/Nsfw/SearchImagesService.cs +++ b/src/NadekoBot/Modules/Nsfw/SearchImagesService.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json.Linq; using LinqToDB; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Common; using Newtonsoft.Json; using Booru = NadekoBot.Modules.Nsfw.Common.Booru; diff --git a/src/NadekoBot/Modules/Permissions/BlacklistCommands.cs b/src/NadekoBot/Modules/Permissions/BlacklistCommands.cs index f36941361..3d7dce875 100644 --- a/src/NadekoBot/Modules/Permissions/BlacklistCommands.cs +++ b/src/NadekoBot/Modules/Permissions/BlacklistCommands.cs @@ -1,7 +1,6 @@ using NadekoBot.Common.TypeReaders; using NadekoBot.Services.Database.Models; using NadekoBot.Modules.Permissions.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Permissions; diff --git a/src/NadekoBot/Modules/Permissions/CmdCdsCommands.cs b/src/NadekoBot/Modules/Permissions/CmdCdsCommands.cs index b62473ea3..49192c348 100644 --- a/src/NadekoBot/Modules/Permissions/CmdCdsCommands.cs +++ b/src/NadekoBot/Modules/Permissions/CmdCdsCommands.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using NadekoBot.Extensions; using NadekoBot.Services.Database.Models; using NadekoBot.Common.Collections; using NadekoBot.Common.TypeReaders; diff --git a/src/NadekoBot/Modules/Permissions/FilterCommands.cs b/src/NadekoBot/Modules/Permissions/FilterCommands.cs index b1f58b80e..0f2698e5c 100644 --- a/src/NadekoBot/Modules/Permissions/FilterCommands.cs +++ b/src/NadekoBot/Modules/Permissions/FilterCommands.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using NadekoBot.Extensions; using NadekoBot.Common.Collections; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Services.Database.Models; diff --git a/src/NadekoBot/Modules/Permissions/GlobalPermissionCommands.cs b/src/NadekoBot/Modules/Permissions/GlobalPermissionCommands.cs index 01bf4ee84..2f3b938db 100644 --- a/src/NadekoBot/Modules/Permissions/GlobalPermissionCommands.cs +++ b/src/NadekoBot/Modules/Permissions/GlobalPermissionCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.TypeReaders; -using NadekoBot.Extensions; using NadekoBot.Modules.Permissions.Services; namespace NadekoBot.Modules.Permissions; diff --git a/src/NadekoBot/Modules/Permissions/Services/FilterService.cs b/src/NadekoBot/Modules/Permissions/Services/FilterService.cs index b16cb9f95..b4fb828bc 100644 --- a/src/NadekoBot/Modules/Permissions/Services/FilterService.cs +++ b/src/NadekoBot/Modules/Permissions/Services/FilterService.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.Collections; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Permissions/Services/PermissionsService.cs b/src/NadekoBot/Modules/Permissions/Services/PermissionsService.cs index 7c9295fbb..7d71baad7 100644 --- a/src/NadekoBot/Modules/Permissions/Services/PermissionsService.cs +++ b/src/NadekoBot/Modules/Permissions/Services/PermissionsService.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using NadekoBot.Modules.Permissions.Common; using NadekoBot.Services.Database.Models; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Searches/AnimeSearchCommands.cs b/src/NadekoBot/Modules/Searches/AnimeSearchCommands.cs index a9455443a..d204025e9 100644 --- a/src/NadekoBot/Modules/Searches/AnimeSearchCommands.cs +++ b/src/NadekoBot/Modules/Searches/AnimeSearchCommands.cs @@ -1,5 +1,4 @@ using AngleSharp; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Services; using AngleSharp.Html.Dom; diff --git a/src/NadekoBot/Modules/Searches/Common/AnimeResult.cs b/src/NadekoBot/Modules/Searches/Common/AnimeResult.cs index cc100edd0..4f8816967 100644 --- a/src/NadekoBot/Modules/Searches/Common/AnimeResult.cs +++ b/src/NadekoBot/Modules/Searches/Common/AnimeResult.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace NadekoBot.Modules.Searches.Common; diff --git a/src/NadekoBot/Modules/Searches/CryptoCommands.cs b/src/NadekoBot/Modules/Searches/CryptoCommands.cs index 863619b33..b55c9e430 100644 --- a/src/NadekoBot/Modules/Searches/CryptoCommands.cs +++ b/src/NadekoBot/Modules/Searches/CryptoCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Searches.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/FeedCommands.cs b/src/NadekoBot/Modules/Searches/FeedCommands.cs index 32b793b1e..9fc7d99c5 100644 --- a/src/NadekoBot/Modules/Searches/FeedCommands.cs +++ b/src/NadekoBot/Modules/Searches/FeedCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Searches.Services; +using NadekoBot.Modules.Searches.Services; using System.Text.RegularExpressions; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/MemegenCommands.cs b/src/NadekoBot/Modules/Searches/MemegenCommands.cs index c9178b625..5882c76a2 100644 --- a/src/NadekoBot/Modules/Searches/MemegenCommands.cs +++ b/src/NadekoBot/Modules/Searches/MemegenCommands.cs @@ -1,6 +1,5 @@ using System.Collections.Immutable; using System.Text; -using NadekoBot.Extensions; using Newtonsoft.Json; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/OsuCommands.cs b/src/NadekoBot/Modules/Searches/OsuCommands.cs index c0daa7d3e..48c1e4733 100644 --- a/src/NadekoBot/Modules/Searches/OsuCommands.cs +++ b/src/NadekoBot/Modules/Searches/OsuCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Searches.Common; +using NadekoBot.Modules.Searches.Common; using Newtonsoft.Json; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/PathOfExileCommands.cs b/src/NadekoBot/Modules/Searches/PathOfExileCommands.cs index 231aa5685..efad2f432 100644 --- a/src/NadekoBot/Modules/Searches/PathOfExileCommands.cs +++ b/src/NadekoBot/Modules/Searches/PathOfExileCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Searches.Common; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Services; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/src/NadekoBot/Modules/Searches/PokemonSearchCommands.cs b/src/NadekoBot/Modules/Searches/PokemonSearchCommands.cs index 6f1cdeaf4..97fd00e26 100644 --- a/src/NadekoBot/Modules/Searches/PokemonSearchCommands.cs +++ b/src/NadekoBot/Modules/Searches/PokemonSearchCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Searches.Services; +using NadekoBot.Modules.Searches.Services; using NadekoBot.Common.Pokemon; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index e22063292..1a5311d37 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -2,7 +2,6 @@ using AngleSharp.Html.Dom; using Microsoft.Extensions.Caching.Memory; using NadekoBot.Modules.Searches.Common; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Services; using Newtonsoft.Json; using Newtonsoft.Json.Linq; diff --git a/src/NadekoBot/Modules/Searches/Services/CryptoService.cs b/src/NadekoBot/Modules/Searches/Services/CryptoService.cs index 0500692fb..2e2df9d51 100644 --- a/src/NadekoBot/Modules/Searches/Services/CryptoService.cs +++ b/src/NadekoBot/Modules/Searches/Services/CryptoService.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Searches.Common; -using NadekoBot.Extensions; using Newtonsoft.Json; namespace NadekoBot.Modules.Searches.Services; diff --git a/src/NadekoBot/Modules/Searches/Services/FeedsService.cs b/src/NadekoBot/Modules/Searches/Services/FeedsService.cs index 4d6036f06..c9acfa789 100644 --- a/src/NadekoBot/Modules/Searches/Services/FeedsService.cs +++ b/src/NadekoBot/Modules/Searches/Services/FeedsService.cs @@ -1,7 +1,6 @@ using CodeHollow.FeedReader.Feeds; using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Db; namespace NadekoBot.Modules.Searches.Services; diff --git a/src/NadekoBot/Modules/Searches/Services/SearchesService.cs b/src/NadekoBot/Modules/Searches/Services/SearchesService.cs index b0dd3917d..fe37e8f7d 100644 --- a/src/NadekoBot/Modules/Searches/Services/SearchesService.cs +++ b/src/NadekoBot/Modules/Searches/Services/SearchesService.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Searches.Common; -using NadekoBot.Extensions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SixLabors.ImageSharp; diff --git a/src/NadekoBot/Modules/Searches/Services/StreamNotificationService.cs b/src/NadekoBot/Modules/Searches/Services/StreamNotificationService.cs index 29ade10a7..22a41c741 100644 --- a/src/NadekoBot/Modules/Searches/Services/StreamNotificationService.cs +++ b/src/NadekoBot/Modules/Searches/Services/StreamNotificationService.cs @@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Common.StreamNotifications; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using StackExchange.Redis; using NadekoBot.Common.Collections; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Searches/Services/TranslateService.cs b/src/NadekoBot/Modules/Searches/Services/TranslateService.cs index 80ececa0b..248630ecb 100644 --- a/src/NadekoBot/Modules/Searches/Services/TranslateService.cs +++ b/src/NadekoBot/Modules/Searches/Services/TranslateService.cs @@ -3,7 +3,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Searches/StreamNotificationCommands.cs b/src/NadekoBot/Modules/Searches/StreamNotificationCommands.cs index 1aadc6ce8..d366b1c1f 100644 --- a/src/NadekoBot/Modules/Searches/StreamNotificationCommands.cs +++ b/src/NadekoBot/Modules/Searches/StreamNotificationCommands.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Services; using NadekoBot.Db; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Searches/TranslatorCommands.cs b/src/NadekoBot/Modules/Searches/TranslatorCommands.cs index a63909693..dd8db8633 100644 --- a/src/NadekoBot/Modules/Searches/TranslatorCommands.cs +++ b/src/NadekoBot/Modules/Searches/TranslatorCommands.cs @@ -1,6 +1,4 @@ -using NadekoBot.Extensions; - -namespace NadekoBot.Modules.Searches; +namespace NadekoBot.Modules.Searches; public partial class Searches { diff --git a/src/NadekoBot/Modules/Searches/XkcdCommands.cs b/src/NadekoBot/Modules/Searches/XkcdCommands.cs index 01f131428..89d2a4d40 100644 --- a/src/NadekoBot/Modules/Searches/XkcdCommands.cs +++ b/src/NadekoBot/Modules/Searches/XkcdCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace NadekoBot.Modules.Searches; diff --git a/src/NadekoBot/Modules/Utility/CommandMapCommands.cs b/src/NadekoBot/Modules/Utility/CommandMapCommands.cs index e77d45629..fa65a2c3b 100644 --- a/src/NadekoBot/Modules/Utility/CommandMapCommands.cs +++ b/src/NadekoBot/Modules/Utility/CommandMapCommands.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using NadekoBot.Extensions; using NadekoBot.Services.Database.Models; using NadekoBot.Db; using NadekoBot.Modules.Utility.Services; diff --git a/src/NadekoBot/Modules/Utility/ConfigCommands.cs b/src/NadekoBot/Modules/Utility/ConfigCommands.cs index 68889b1e2..19c399e81 100644 --- a/src/NadekoBot/Modules/Utility/ConfigCommands.cs +++ b/src/NadekoBot/Modules/Utility/ConfigCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Administration.Services; +using NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/InfoCommands.cs b/src/NadekoBot/Modules/Utility/InfoCommands.cs index 3d0c3a47f..4bc6aedb2 100644 --- a/src/NadekoBot/Modules/Utility/InfoCommands.cs +++ b/src/NadekoBot/Modules/Utility/InfoCommands.cs @@ -1,4 +1,3 @@ -using NadekoBot.Extensions; using System.Text; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/InviteCommands.cs b/src/NadekoBot/Modules/Utility/InviteCommands.cs index 34141656f..9863f14f0 100644 --- a/src/NadekoBot/Modules/Utility/InviteCommands.cs +++ b/src/NadekoBot/Modules/Utility/InviteCommands.cs @@ -1,5 +1,4 @@ using NadekoBot.Modules.Utility.Services; -using NadekoBot.Extensions; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/PatreonCommands.cs b/src/NadekoBot/Modules/Utility/PatreonCommands.cs index c90f75da5..1a4621586 100644 --- a/src/NadekoBot/Modules/Utility/PatreonCommands.cs +++ b/src/NadekoBot/Modules/Utility/PatreonCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Utility.Services; +using NadekoBot.Modules.Utility.Services; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/QuoteCommands.cs index a497d395e..35492333d 100644 --- a/src/NadekoBot/Modules/Utility/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/QuoteCommands.cs @@ -1,4 +1,3 @@ -using NadekoBot.Extensions; using NadekoBot.Common.Yml; using NadekoBot.Services.Database.Models; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Utility/RemindCommands.cs b/src/NadekoBot/Modules/Utility/RemindCommands.cs index 7f44aab5c..4af38ebfe 100644 --- a/src/NadekoBot/Modules/Utility/RemindCommands.cs +++ b/src/NadekoBot/Modules/Utility/RemindCommands.cs @@ -1,7 +1,6 @@ using Humanizer.Localisation; using NadekoBot.Services.Database.Models; using NadekoBot.Db; -using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Utility.Services; diff --git a/src/NadekoBot/Modules/Utility/RepeatCommands.cs b/src/NadekoBot/Modules/Utility/RepeatCommands.cs index 9f34354fe..324cff601 100644 --- a/src/NadekoBot/Modules/Utility/RepeatCommands.cs +++ b/src/NadekoBot/Modules/Utility/RepeatCommands.cs @@ -1,6 +1,5 @@ #nullable enable using NadekoBot.Common.TypeReaders; -using NadekoBot.Extensions; using NadekoBot.Modules.Utility.Services; using NadekoBot.Common.TypeReaders.Models; diff --git a/src/NadekoBot/Modules/Utility/Services/CommandMapService.cs b/src/NadekoBot/Modules/Utility/Services/CommandMapService.cs index 33779e9d6..de31233b7 100644 --- a/src/NadekoBot/Modules/Utility/Services/CommandMapService.cs +++ b/src/NadekoBot/Modules/Utility/Services/CommandMapService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Utility/Services/ConverterService.cs b/src/NadekoBot/Modules/Utility/Services/ConverterService.cs index 8c1827f0f..6ca560b4f 100644 --- a/src/NadekoBot/Modules/Utility/Services/ConverterService.cs +++ b/src/NadekoBot/Modules/Utility/Services/ConverterService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Utility.Common; +using NadekoBot.Modules.Utility.Common; using Newtonsoft.Json; namespace NadekoBot.Modules.Utility.Services; diff --git a/src/NadekoBot/Modules/Utility/Services/PatreonRewardsService.cs b/src/NadekoBot/Modules/Utility/Services/PatreonRewardsService.cs index e509f1753..1ba4936f3 100644 --- a/src/NadekoBot/Modules/Utility/Services/PatreonRewardsService.cs +++ b/src/NadekoBot/Modules/Utility/Services/PatreonRewardsService.cs @@ -4,7 +4,6 @@ using System.Net.Http.Json; using System.Text.Json.Serialization; using LinqToDB.EntityFrameworkCore; using NadekoBot.Modules.Gambling.Services; -using NadekoBot.Extensions; using StackExchange.Redis; using JsonSerializer = System.Text.Json.JsonSerializer; diff --git a/src/NadekoBot/Modules/Utility/Services/RemindService.cs b/src/NadekoBot/Modules/Utility/Services/RemindService.cs index e532323bb..33c6a23a8 100644 --- a/src/NadekoBot/Modules/Utility/Services/RemindService.cs +++ b/src/NadekoBot/Modules/Utility/Services/RemindService.cs @@ -1,5 +1,4 @@ using System.Text.RegularExpressions; -using NadekoBot.Extensions; using NadekoBot.Services.Database.Models; using Microsoft.EntityFrameworkCore; diff --git a/src/NadekoBot/Modules/Utility/Services/RepeaterService.cs b/src/NadekoBot/Modules/Utility/Services/RepeaterService.cs index c50f606b6..e3211b2b3 100644 --- a/src/NadekoBot/Modules/Utility/Services/RepeaterService.cs +++ b/src/NadekoBot/Modules/Utility/Services/RepeaterService.cs @@ -1,6 +1,5 @@ #nullable enable using Microsoft.EntityFrameworkCore; -using NadekoBot.Extensions; using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Common.Collections; diff --git a/src/NadekoBot/Modules/Utility/Services/StreamRoleService.cs b/src/NadekoBot/Modules/Utility/Services/StreamRoleService.cs index b38c0546c..2b236f0ec 100644 --- a/src/NadekoBot/Modules/Utility/Services/StreamRoleService.cs +++ b/src/NadekoBot/Modules/Utility/Services/StreamRoleService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Services.Database.Models; +using NadekoBot.Services.Database.Models; using NadekoBot.Common.TypeReaders; using NadekoBot.Modules.Utility.Common; using NadekoBot.Modules.Utility.Common.Exceptions; diff --git a/src/NadekoBot/Modules/Utility/Services/VerboseErrorsService.cs b/src/NadekoBot/Modules/Utility/Services/VerboseErrorsService.cs index 823b1f37a..cb1c2526e 100644 --- a/src/NadekoBot/Modules/Utility/Services/VerboseErrorsService.cs +++ b/src/NadekoBot/Modules/Utility/Services/VerboseErrorsService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Collections; -using NadekoBot.Extensions; using NadekoBot.Modules.Help.Services; using NadekoBot.Db; diff --git a/src/NadekoBot/Modules/Utility/UnitConversionCommands.cs b/src/NadekoBot/Modules/Utility/UnitConversionCommands.cs index 5e75bc045..0d506f7c2 100644 --- a/src/NadekoBot/Modules/Utility/UnitConversionCommands.cs +++ b/src/NadekoBot/Modules/Utility/UnitConversionCommands.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Utility.Services; +using NadekoBot.Modules.Utility.Services; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index d440617d1..3083ad52f 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -1,4 +1,3 @@ -using NadekoBot.Extensions; using Newtonsoft.Json; using System.Diagnostics; using System.Text; diff --git a/src/NadekoBot/Modules/Xp/Club.cs b/src/NadekoBot/Modules/Xp/Club.cs index abf8d9f34..3a3170ddc 100644 --- a/src/NadekoBot/Modules/Xp/Club.cs +++ b/src/NadekoBot/Modules/Xp/Club.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using NadekoBot.Modules.Xp.Services; +using NadekoBot.Modules.Xp.Services; namespace NadekoBot.Modules.Xp; diff --git a/src/NadekoBot/Modules/Xp/Services/ClubService.cs b/src/NadekoBot/Modules/Xp/Services/ClubService.cs index cbe96e5df..48b789dd5 100644 --- a/src/NadekoBot/Modules/Xp/Services/ClubService.cs +++ b/src/NadekoBot/Modules/Xp/Services/ClubService.cs @@ -1,5 +1,4 @@ using NadekoBot.Db.Models; -using NadekoBot.Extensions; using NadekoBot.Db; namespace NadekoBot.Modules.Xp.Services; diff --git a/src/NadekoBot/Modules/Xp/Services/XpService.cs b/src/NadekoBot/Modules/Xp/Services/XpService.cs index 4f1d0caa0..56dbcafa2 100644 --- a/src/NadekoBot/Modules/Xp/Services/XpService.cs +++ b/src/NadekoBot/Modules/Xp/Services/XpService.cs @@ -1,6 +1,5 @@ using NadekoBot.Common.Collections; using NadekoBot.Db.Models; -using NadekoBot.Extensions; using Newtonsoft.Json; using SixLabors.Fonts; using SixLabors.ImageSharp; diff --git a/src/NadekoBot/Modules/Xp/Xp.cs b/src/NadekoBot/Modules/Xp/Xp.cs index a87f12e41..b4bf94c20 100644 --- a/src/NadekoBot/Modules/Xp/Xp.cs +++ b/src/NadekoBot/Modules/Xp/Xp.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Modules.Xp.Services; using NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Services/CommandHandler.cs b/src/NadekoBot/Services/CommandHandler.cs index 9e3062ffc..b6c35a51a 100644 --- a/src/NadekoBot/Services/CommandHandler.cs +++ b/src/NadekoBot/Services/CommandHandler.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Collections; -using NadekoBot.Extensions; using System.Collections.Immutable; using NadekoBot.Common.Configs; using NadekoBot.Db; diff --git a/src/NadekoBot/Services/GreetSettingsService.cs b/src/NadekoBot/Services/GreetSettingsService.cs index e919f135d..4ef84f2a2 100644 --- a/src/NadekoBot/Services/GreetSettingsService.cs +++ b/src/NadekoBot/Services/GreetSettingsService.cs @@ -1,5 +1,4 @@ using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Db; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/IEmbedBuilderService.cs b/src/NadekoBot/Services/IEmbedBuilderService.cs index 355ae8aaa..37a6ea021 100644 --- a/src/NadekoBot/Services/IEmbedBuilderService.cs +++ b/src/NadekoBot/Services/IEmbedBuilderService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Configs; -using NadekoBot.Extensions; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/Impl/BehaviorExecutor.cs b/src/NadekoBot/Services/Impl/BehaviorExecutor.cs index 3e362458f..575b24113 100644 --- a/src/NadekoBot/Services/Impl/BehaviorExecutor.cs +++ b/src/NadekoBot/Services/Impl/BehaviorExecutor.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using Microsoft.Extensions.DependencyInjection; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/Impl/CurrencyService.cs b/src/NadekoBot/Services/Impl/CurrencyService.cs index d3a5c9b00..9e1036df1 100644 --- a/src/NadekoBot/Services/Impl/CurrencyService.cs +++ b/src/NadekoBot/Services/Impl/CurrencyService.cs @@ -1,6 +1,5 @@ using NadekoBot.Services.Database; using NadekoBot.Services.Database.Models; -using NadekoBot.Extensions; using NadekoBot.Db; using NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Services/Impl/GoogleApiService.cs b/src/NadekoBot/Services/Impl/GoogleApiService.cs index 27814a1c3..1e5b9062c 100644 --- a/src/NadekoBot/Services/Impl/GoogleApiService.cs +++ b/src/NadekoBot/Services/Impl/GoogleApiService.cs @@ -3,7 +3,6 @@ using Google.Apis.Customsearch.v1; using Google.Apis.Services; using Google.Apis.Urlshortener.v1; using Google.Apis.YouTube.v3; -using NadekoBot.Extensions; using Newtonsoft.Json.Linq; using System.Net; using System.Text.RegularExpressions; diff --git a/src/NadekoBot/Services/Impl/RedisCache.cs b/src/NadekoBot/Services/Impl/RedisCache.cs index 0c8d54d4b..95ac49329 100644 --- a/src/NadekoBot/Services/Impl/RedisCache.cs +++ b/src/NadekoBot/Services/Impl/RedisCache.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using Newtonsoft.Json; +using Newtonsoft.Json; using StackExchange.Redis; using System.Net; diff --git a/src/NadekoBot/Services/Impl/RedisImagesCache.cs b/src/NadekoBot/Services/Impl/RedisImagesCache.cs index 5dde08ea6..1486331fb 100644 --- a/src/NadekoBot/Services/Impl/RedisImagesCache.cs +++ b/src/NadekoBot/Services/Impl/RedisImagesCache.cs @@ -1,5 +1,4 @@ -using NadekoBot.Extensions; -using Newtonsoft.Json; +using Newtonsoft.Json; using StackExchange.Redis; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.Yml; diff --git a/src/NadekoBot/Services/Impl/RedisLocalDataCache.cs b/src/NadekoBot/Services/Impl/RedisLocalDataCache.cs index 01b79bd3d..6f6934b6f 100644 --- a/src/NadekoBot/Services/Impl/RedisLocalDataCache.cs +++ b/src/NadekoBot/Services/Impl/RedisLocalDataCache.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Pokemon; -using NadekoBot.Extensions; using NadekoBot.Modules.Games.Common.Trivia; using Newtonsoft.Json; using StackExchange.Redis; diff --git a/src/NadekoBot/Services/Impl/RemoteGrpcCoordinator.cs b/src/NadekoBot/Services/Impl/RemoteGrpcCoordinator.cs index 32e2fce55..4e8f41d42 100644 --- a/src/NadekoBot/Services/Impl/RemoteGrpcCoordinator.cs +++ b/src/NadekoBot/Services/Impl/RemoteGrpcCoordinator.cs @@ -1,7 +1,6 @@ using Grpc.Core; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Coordinator; -using NadekoBot.Extensions; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index 5adf511aa..e81f3d8b4 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Extensions; using System.Diagnostics; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/Impl/YtdlOperation.cs b/src/NadekoBot/Services/Impl/YtdlOperation.cs index 1b4eefe1b..94a3f6588 100644 --- a/src/NadekoBot/Services/Impl/YtdlOperation.cs +++ b/src/NadekoBot/Services/Impl/YtdlOperation.cs @@ -1,7 +1,6 @@ using System.ComponentModel; using System.Diagnostics; using System.Text; -using NadekoBot.Extensions; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/strings/impl/RedisBotStringsProvider.cs b/src/NadekoBot/Services/strings/impl/RedisBotStringsProvider.cs index 0ca073f65..62edea677 100644 --- a/src/NadekoBot/Services/strings/impl/RedisBotStringsProvider.cs +++ b/src/NadekoBot/Services/strings/impl/RedisBotStringsProvider.cs @@ -1,5 +1,4 @@ using System.Web; -using NadekoBot.Extensions; using StackExchange.Redis; namespace NadekoBot.Services;