global using NadekoBot.Extensions

This commit is contained in:
Kwoth
2021-12-23 08:04:00 +07:00
parent 93b8bca018
commit da849f7c7b
146 changed files with 45 additions and 197 deletions

View File

@@ -1,6 +1,5 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;

View File

@@ -1,5 +1,4 @@
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Extensions;
namespace NadekoBot.Common.Attributes; namespace NadekoBot.Common.Attributes;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using System.Globalization;
using System.Globalization;
namespace NadekoBot.Modules; namespace NadekoBot.Modules;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using StackExchange.Redis;
using StackExchange.Redis;
namespace NadekoBot.Common; namespace NadekoBot.Common;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace NadekoBot.Common; namespace NadekoBot.Common;

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot;
namespace NadekoBot;
public sealed record SmartEmbedText : SmartText public sealed record SmartEmbedText : SmartText
{ {

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot.Common.TypeReaders;
namespace NadekoBot.Common.TypeReaders;
public sealed class ModuleTypeReader : NadekoTypeReader<ModuleInfo> public sealed class ModuleTypeReader : NadekoTypeReader<ModuleInfo>
{ {

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Db.Models;
using NadekoBot.Db.Models;
namespace NadekoBot.Services.Database.Models; namespace NadekoBot.Services.Database.Models;

View File

@@ -6,7 +6,7 @@ global using NadekoBot;
global using NadekoBot.Services; global using NadekoBot.Services;
global using NadekoBot.Common; global using NadekoBot.Common;
global using NadekoBot.Common.Attributes; global using NadekoBot.Common.Attributes;
// todo global using Nadekobot.Extensions; global using NadekoBot.Extensions;
global using Discord; global using Discord;
global using Discord.Commands; global using Discord.Commands;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
#if !GLOBAL_NADEKO #if !GLOBAL_NADEKO
namespace NadekoBot.Modules.Administration namespace NadekoBot.Modules.Administration

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using System.Globalization;
using System.Globalization;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Common; using NadekoBot.Modules.Administration.Common;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
using ITextChannel = Discord.ITextChannel; using ITextChannel = Discord.ITextChannel;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
using System.Net; using System.Net;

View File

@@ -1,6 +1,5 @@
using System.Text; using System.Text;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration;
namespace NadekoBot.Modules.Administration;
public partial class Administration public partial class Administration
{ {

View File

@@ -1,7 +1,6 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Db; using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -3,7 +3,6 @@ using LinqToDB;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -1,7 +1,6 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Db; using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -4,7 +4,6 @@ using LinqToDB;
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -3,7 +3,6 @@ using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Common; using NadekoBot.Modules.Administration.Common;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -1,6 +1,5 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;

View File

@@ -1,7 +1,6 @@
using System.Threading.Channels; using System.Threading.Channels;
using NadekoBot.Modules.Administration.Common; using NadekoBot.Modules.Administration.Common;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Db; using NadekoBot.Db;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration.Services; namespace NadekoBot.Modules.Administration.Services;

View File

@@ -1,7 +1,6 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using LinqToDB; using LinqToDB;
using LinqToDB.EntityFrameworkCore; using LinqToDB.EntityFrameworkCore;
using NadekoBot.Db; using NadekoBot.Db;

View File

@@ -1,6 +1,5 @@
using System.Collections.Immutable; using System.Collections.Immutable;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;

View File

@@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
using Newtonsoft.Json; using Newtonsoft.Json;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -2,7 +2,6 @@ using CommandLine;
using Humanizer.Localisation; using Humanizer.Localisation;
using NadekoBot.Common.TypeReaders.Models; using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration; namespace NadekoBot.Modules.Administration;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.CustomReactions.Services;
using NadekoBot.Modules.CustomReactions.Services;
namespace NadekoBot.Modules.CustomReactions; namespace NadekoBot.Modules.CustomReactions;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
namespace NadekoBot.Modules.CustomReactions.Extensions; namespace NadekoBot.Modules.CustomReactions.Extensions;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.CustomReactions.Extensions; using NadekoBot.Modules.CustomReactions.Extensions;
using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Common;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;

View File

@@ -1,7 +1,6 @@
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.AnimalRacing; using NadekoBot.Modules.Gambling.Common.AnimalRacing;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions; using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;

View File

@@ -1,7 +1,6 @@
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.Blackjack; using NadekoBot.Modules.Gambling.Common.Blackjack;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling; namespace NadekoBot.Modules.Gambling;

View File

@@ -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; using NadekoBot.Modules.Games.Common;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing; namespace NadekoBot.Modules.Gambling.Common.AnimalRacing;

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public class QuadDeck : Deck public class QuadDeck : Deck
{ {

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling.Common.Events; namespace NadekoBot.Modules.Gambling.Common.Events;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling.Common.Events; namespace NadekoBot.Modules.Gambling.Common.Events;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Common.Connect4; using NadekoBot.Modules.Gambling.Common.Connect4;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using System.Text; using System.Text;

View File

@@ -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.Modules.Gambling.Common.Events;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;

View File

@@ -1,4 +1,3 @@
using NadekoBot.Extensions;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common;
using Image = SixLabors.ImageSharp.Image; using Image = SixLabors.ImageSharp.Image;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.PixelFormats;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Db.Models; using NadekoBot.Db.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using System.Globalization; using System.Globalization;
using System.Numerics; using System.Numerics;

View File

@@ -1,4 +1,3 @@
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;

View File

@@ -3,7 +3,6 @@ using NadekoBot.Common.Collections;
using NadekoBot.Services.Database; using NadekoBot.Services.Database;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling.Services; namespace NadekoBot.Modules.Gambling.Services;

View File

@@ -1,7 +1,6 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using SixLabors.Fonts; using SixLabors.Fonts;
using SixLabors.ImageSharp; using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing.Processing; using SixLabors.ImageSharp.Drawing.Processing;

View File

@@ -4,7 +4,6 @@ using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling; namespace NadekoBot.Modules.Gambling;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using System.Text;
using System.Text;
using NadekoBot.Db.Models; using NadekoBot.Db.Models;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Modules.Gambling.Common.Waifu; using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services; using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common;

View File

@@ -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.Common.Acrophobia;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;

View File

@@ -1,6 +1,5 @@
using System.Collections.Immutable; using System.Collections.Immutable;
using CommandLine; using CommandLine;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Games.Common.Acrophobia; namespace NadekoBot.Modules.Games.Common.Acrophobia;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using Newtonsoft.Json;
using Newtonsoft.Json;
namespace NadekoBot.Modules.Games.Common.ChatterBot; namespace NadekoBot.Modules.Games.Common.ChatterBot;

View File

@@ -2,7 +2,6 @@
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;
namespace NadekoBot.Modules.Games.Hangman; namespace NadekoBot.Modules.Games.Hangman;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using System.Text;
using System.Text;
using CommandLine; using CommandLine;
namespace NadekoBot.Modules.Games.Common; namespace NadekoBot.Modules.Games.Common;

View File

@@ -1,5 +1,4 @@
using System.Text; using System.Text;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Games.Common.Trivia; namespace NadekoBot.Modules.Games.Common.Trivia;

View File

@@ -1,5 +1,4 @@
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using NadekoBot.Extensions;
// THANKS @ShoMinamimoto for suggestions and coding help // THANKS @ShoMinamimoto for suggestions and coding help
namespace NadekoBot.Modules.Games.Common.Trivia; namespace NadekoBot.Modules.Games.Common.Trivia;

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot.Modules.Games.Common.Trivia;
namespace NadekoBot.Modules.Games.Common.Trivia;
public class TriviaQuestionPool public class TriviaQuestionPool
{ {

View File

@@ -1,5 +1,4 @@
using System.Diagnostics; using System.Diagnostics;
using NadekoBot.Extensions;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;
using CommandLine; using CommandLine;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Games.Common;
using NadekoBot.Modules.Games.Common;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;
namespace NadekoBot.Modules.Games; namespace NadekoBot.Modules.Games;

View File

@@ -1,5 +1,4 @@
#nullable enable #nullable enable
using NadekoBot.Extensions;
using NadekoBot.Modules.Games.Hangman; using NadekoBot.Modules.Games.Hangman;
namespace NadekoBot.Modules.Games; namespace NadekoBot.Modules.Games;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Games.Services;
using NadekoBot.Modules.Games.Services;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using System.Text; using System.Text;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Common;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
using NadekoBot.Modules.Games.Common.ChatterBot; using NadekoBot.Modules.Games.Common.ChatterBot;

View File

@@ -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.Acrophobia;
using NadekoBot.Modules.Games.Common.Nunchi; using NadekoBot.Modules.Games.Common.Nunchi;
using NadekoBot.Modules.Games.Common.Trivia; using NadekoBot.Modules.Games.Common.Trivia;

View File

@@ -3,7 +3,6 @@ using NadekoBot.Modules.Games.Common;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Games.Services; namespace NadekoBot.Modules.Games.Services;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Games.Common;
using NadekoBot.Modules.Games.Common;
using NadekoBot.Modules.Games.Services; using NadekoBot.Modules.Games.Services;
namespace NadekoBot.Modules.Games; namespace NadekoBot.Modules.Games;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Modules.Help.Common; using NadekoBot.Modules.Help.Common;
using NadekoBot.Extensions;
using NadekoBot.Modules.Help.Services; using NadekoBot.Modules.Help.Services;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
using Newtonsoft.Json; using Newtonsoft.Json;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Common.ModuleBehaviors;
using CommandLine; using CommandLine;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;

View File

@@ -1,6 +1,4 @@
using NadekoBot.Extensions; namespace NadekoBot.Modules.Music;
namespace NadekoBot.Modules.Music;
public static class MusicExtensions public static class MusicExtensions
{ {

View File

@@ -1,5 +1,4 @@
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Music.Resolvers; namespace NadekoBot.Modules.Music.Resolvers;

View File

@@ -1,7 +1,6 @@
#nullable enable #nullable enable
using System.Globalization; using System.Globalization;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Music; namespace NadekoBot.Modules.Music;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services; using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Music.Services; using NadekoBot.Modules.Music.Services;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
using NadekoBot.Modules.Music.Services; using NadekoBot.Modules.Music.Services;
namespace NadekoBot.Modules.Music; namespace NadekoBot.Modules.Music;

View File

@@ -2,7 +2,6 @@
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Music.Services; namespace NadekoBot.Modules.Music.Services;

View File

@@ -1,5 +1,4 @@
using System.Net.Http.Json; using System.Net.Http.Json;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Nsfw.Common; namespace NadekoBot.Modules.Nsfw.Common;

View File

@@ -1,5 +1,4 @@
using System.Net.Http.Json; using System.Net.Http.Json;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Nsfw.Common; namespace NadekoBot.Modules.Nsfw.Common;

View File

@@ -1,5 +1,4 @@
using System.Text.Json; using System.Text.Json;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Nsfw.Common; namespace NadekoBot.Modules.Nsfw.Common;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Common;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;

View File

@@ -1,5 +1,4 @@
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Nsfw.Common; namespace NadekoBot.Modules.Nsfw.Common;

View File

@@ -1,6 +1,5 @@
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using LinqToDB; using LinqToDB;
using NadekoBot.Extensions;
using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Common;
using Newtonsoft.Json; using Newtonsoft.Json;
using Booru = NadekoBot.Modules.Nsfw.Common.Booru; using Booru = NadekoBot.Modules.Nsfw.Common.Booru;

View File

@@ -1,7 +1,6 @@
using NadekoBot.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Permissions; namespace NadekoBot.Modules.Permissions;

View File

@@ -1,5 +1,4 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Extensions;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Common.TypeReaders; using NadekoBot.Common.TypeReaders;

View File

@@ -1,5 +1,4 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Extensions;
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Common.TypeReaders; using NadekoBot.Common.TypeReaders;
using NadekoBot.Extensions;
using NadekoBot.Modules.Permissions.Services; using NadekoBot.Modules.Permissions.Services;
namespace NadekoBot.Modules.Permissions; namespace NadekoBot.Modules.Permissions;

View File

@@ -1,6 +1,5 @@
using NadekoBot.Common.Collections; using NadekoBot.Common.Collections;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;

View File

@@ -1,6 +1,5 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Common;
using NadekoBot.Services.Database.Models; using NadekoBot.Services.Database.Models;
using NadekoBot.Db; using NadekoBot.Db;

View File

@@ -1,5 +1,4 @@
using AngleSharp; using AngleSharp;
using NadekoBot.Extensions;
using NadekoBot.Modules.Searches.Services; using NadekoBot.Modules.Searches.Services;
using AngleSharp.Html.Dom; using AngleSharp.Html.Dom;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using Newtonsoft.Json;
using Newtonsoft.Json;
namespace NadekoBot.Modules.Searches.Common; namespace NadekoBot.Modules.Searches.Common;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Modules.Searches.Services; using NadekoBot.Modules.Searches.Services;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Searches; namespace NadekoBot.Modules.Searches;

View File

@@ -1,5 +1,4 @@
using NadekoBot.Extensions; using NadekoBot.Modules.Searches.Services;
using NadekoBot.Modules.Searches.Services;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace NadekoBot.Modules.Searches; namespace NadekoBot.Modules.Searches;

View File

@@ -1,6 +1,5 @@
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Text; using System.Text;
using NadekoBot.Extensions;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace NadekoBot.Modules.Searches; namespace NadekoBot.Modules.Searches;

Some files were not shown because too many files have changed in this diff Show More