Implicit usings and more global usings

This commit is contained in:
Kwoth
2021-12-21 02:36:47 +01:00
parent 9223d78849
commit c66e491ce9
317 changed files with 272 additions and 1425 deletions
@@ -1,11 +1,6 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Administration;
@@ -1,8 +1,4 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,7 +1,4 @@
using System.Collections.Concurrent;
using System.Threading;
using Discord;
using NadekoBot.Common.Collections;
using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Administration.Common;
@@ -1,5 +1,4 @@
using Discord;
using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Administration.Common;
@@ -1,8 +1,4 @@
using System.Collections.Concurrent;
using System.Threading;
using Discord;
namespace NadekoBot.Modules.Administration.Common;
namespace NadekoBot.Modules.Administration.Common;
public sealed class UserSpamStats : IDisposable
{
@@ -1,8 +1,4 @@
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using Discord;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
#if !GLOBAL_NADEKO
@@ -1,8 +1,4 @@
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.TypeReaders;
using NadekoBot.Common.TypeReaders;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
@@ -1,8 +1,4 @@
using Discord;
using Discord.Commands;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,9 +1,5 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using System.Globalization;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Administration;
@@ -1,12 +1,7 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Administration;
@@ -1,10 +1,5 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
using Discord.WebSocket;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration;
@@ -1,8 +1,4 @@
using Discord.Commands;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Administration.Services;
using Discord;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,9 +1,4 @@
using Discord;
using Discord.Commands;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
namespace NadekoBot.Modules.Administration;
namespace NadekoBot.Modules.Administration;
public partial class Administration
{
@@ -1,11 +1,7 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Common;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
using NadekoBot.Common.TypeReaders.Models;
namespace NadekoBot.Modules.Administration;
@@ -1,8 +1,4 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using ITextChannel = Discord.ITextChannel;
@@ -1,14 +1,8 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using SixLabors.ImageSharp.PixelFormats;
using System.Net;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Administration;
@@ -1,8 +1,4 @@
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Administration.Services;
using NadekoBot.Extensions;
@@ -1,14 +1,6 @@
using Discord;
using Discord.Commands;
using Discord.Net;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.Replacements;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
using NadekoBot.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,9 +1,4 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using NadekoBot.Services;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Administration;
@@ -1,14 +1,7 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Common.Replacements;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,8 +1,4 @@
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Discord.WebSocket;
using NadekoBot.Services;
using System.Threading.Channels;
using System.Threading.Channels;
using LinqToDB;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models;
@@ -1,6 +1,4 @@
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services;
using LinqToDB;
using LinqToDB.EntityFrameworkCore;
using NadekoBot.Services.Database.Models;
@@ -1,10 +1,5 @@
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
@@ -1,8 +1,5 @@
using System.Threading.Tasks;
using Discord.WebSocket;
using NadekoBot.Common.Collections;
using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Services;
using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,9 +1,5 @@
using System.Collections.Concurrent;
using Discord.WebSocket;
using NadekoBot.Extensions;
using NadekoBot.Services;
using NadekoBot.Extensions;
using NadekoBot.Services.Database.Models;
using System.Threading.Tasks;
using NadekoBot.Db;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,16 +1,10 @@
using System.Collections.Concurrent;
using System.Net;
using System.Net;
using System.Threading.Channels;
using System.Threading.Tasks;
using Discord;
using Discord.Net;
using Discord.WebSocket;
using LinqToDB;
using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.Collections;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Services;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,12 +1,6 @@
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
using NadekoBot.Extensions;
@@ -1,12 +1,6 @@
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
@@ -1,12 +1,5 @@
using System.Threading;
using Discord.WebSocket;
using NadekoBot.Common.Replacements;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using Discord;
using System.Threading.Tasks;
using NadekoBot.Services.Database.Models;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,10 +1,5 @@
using System.Collections.Concurrent;
using System.Threading.Channels;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using System.Threading.Channels;
using NadekoBot.Modules.Administration.Common;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using Microsoft.EntityFrameworkCore;
@@ -1,8 +1,5 @@
using System.Threading.Tasks;
using Discord;
using NadekoBot.Common.Collections;
using NadekoBot.Common.Collections;
using NadekoBot.Extensions;
using NadekoBot.Services;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,16 +1,10 @@
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using LinqToDB;
using LinqToDB.EntityFrameworkCore;
using NadekoBot.Db;
using System.Threading;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,7 +1,4 @@
using Discord;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using System.Threading.Tasks;
using NadekoBot.Services.Database.Models;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Db;
using NadekoBot.Modules.Xp;
@@ -1,16 +1,8 @@
using System.Collections.Immutable;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Services;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models;
using System.Threading;
using System.Collections.Concurrent;
using System.Net.Http;
using NadekoBot.Common;
namespace NadekoBot.Modules.Administration.Services;
@@ -1,12 +1,5 @@
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Replacements;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
using NadekoBot.Extensions;
@@ -1,9 +1,4 @@
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
@@ -1,8 +1,4 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,14 +1,8 @@
using CommandLine;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Common;
using NadekoBot.Common.TypeReaders.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using System.Threading.Tasks;
using NadekoBot.Modules.Permissions.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,10 +1,4 @@
using System.Collections.Concurrent;
using Discord;
using Discord.Commands;
using System.Threading.Tasks;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
namespace NadekoBot.Modules.Administration;
@@ -1,5 +1,4 @@
using NadekoBot.Services.Database.Models;
using NadekoBot.Common;
namespace NadekoBot.Modules.CustomReactions;
@@ -1,11 +1,5 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using NadekoBot.Modules.CustomReactions.Services;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
namespace NadekoBot.Modules.CustomReactions;
@@ -1,10 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.Replacements;
using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace NadekoBot.Modules.CustomReactions.Extensions;
@@ -1,16 +1,10 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Common;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Services;
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;
using System.Collections.Concurrent;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Yml;
using NadekoBot.Db;
@@ -1,11 +1,4 @@
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Common;
using NadekoBot.Services;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.AnimalRacing;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Extensions;
@@ -1,13 +1,7 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Common;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.Blackjack;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling;
@@ -1,8 +1,4 @@
using System.Threading;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Services;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
using NadekoBot.Modules.Games.Common;
@@ -1,5 +1,4 @@
using CommandLine;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing;
@@ -1,9 +1,4 @@
using System.Threading;
using System.Threading.Tasks;
using Discord;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
public class Blackjack
{
@@ -1,6 +1,4 @@
using Discord;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
public abstract class Player
{
@@ -1,7 +1,4 @@
using Discord;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public class CurrencyRaffleGame
{
@@ -1,5 +1,4 @@
using NadekoBot.Common;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Gambling.Common;
@@ -1,5 +1,4 @@
using CommandLine;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.Events;
@@ -1,12 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common.Events;
@@ -1,6 +1,4 @@
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public interface ICurrencyEvent
{
@@ -1,12 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Common.Collections;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common.Events;
@@ -1,5 +1,4 @@
using Cloneable;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
using SixLabors.ImageSharp.PixelFormats;
using YamlDotNet.Serialization;
@@ -1,6 +1,4 @@
using Discord;
using System.Threading.Tasks;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Services;
namespace NadekoBot.Modules.Gambling.Common;
@@ -1,9 +1,4 @@
using NadekoBot.Common;
using NadekoBot.Services;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public class RollDuelGame
{
@@ -1,6 +1,4 @@
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.Slot;
namespace NadekoBot.Modules.Gambling.Common.Slot;
public class SlotGame
{
@@ -1,8 +1,4 @@
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling.Common.WheelOfFortune;
namespace NadekoBot.Modules.Gambling.Common.WheelOfFortune;
public class WheelOfFortuneGame
{
@@ -1,9 +1,5 @@
using CommandLine;
using NadekoBot.Common;
using NadekoBot.Services;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common.Connect4;
@@ -1,15 +1,8 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Common.Connect4;
using NadekoBot.Modules.Gambling.Services;
using System.Text;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling;
@@ -1,11 +1,6 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common.Events;
using NadekoBot.Common;
using NadekoBot.Services.Database.Models;
using NadekoBot.Modules.Gambling.Common;
@@ -1,10 +1,5 @@
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Gambling.Services;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling;
@@ -1,13 +1,7 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using NadekoBot.Services;
using Image = SixLabors.ImageSharp.Image;
namespace NadekoBot.Modules.Gambling;
@@ -1,11 +1,4 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using System.Collections.Concurrent;
using System.IO;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Services;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Common;
using Image = SixLabors.ImageSharp.Image;
using SixLabors.ImageSharp;
@@ -1,14 +1,8 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System.Threading.Tasks;
using NadekoBot.Services;
using Image = SixLabors.ImageSharp.Image;
namespace NadekoBot.Modules.Gambling;
@@ -1,16 +1,9 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Db.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services;
using System.Globalization;
using System.Numerics;
using System.Threading.Tasks;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
@@ -1,13 +1,7 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Extensions;
using NadekoBot.Modules.Administration.Services;
using NadekoBot.Modules.Gambling.Services;
using System.Threading.Tasks;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling;
@@ -1,6 +1,4 @@
using NadekoBot.Services;
using System.Collections.Concurrent;
using NadekoBot.Modules.Gambling.Common.AnimalRacing;
using NadekoBot.Modules.Gambling.Common.AnimalRacing;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,6 +1,4 @@
using NadekoBot.Modules.Gambling.Common.Blackjack;
using NadekoBot.Services;
using System.Collections.Concurrent;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,9 +1,5 @@
using NadekoBot.Services;
using NadekoBot.Modules.Gambling.Common.Events;
using System.Collections.Concurrent;
using NadekoBot.Modules.Gambling.Common.Events;
using NadekoBot.Modules.Gambling.Common;
using Discord.WebSocket;
using System.Threading.Tasks;
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,8 +1,4 @@
using System.Threading.Tasks;
using NadekoBot.Services;
using NadekoBot.Modules.Gambling.Common;
using System.Threading;
using Discord;
using NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,7 +1,5 @@
using NadekoBot.Common;
using NadekoBot.Common.Configs;
using NadekoBot.Common.Configs;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,12 +1,7 @@
using Discord.WebSocket;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Services;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Common.Connect4;
using NadekoBot.Modules.Gambling.Common.WheelOfFortune;
using Newtonsoft.Json;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Db;
using NadekoBot.Modules.Gambling.Common.Slot;
@@ -1,6 +1,4 @@
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Services;
namespace NadekoBot.Modules.Gambling.Services;
public interface IShopService
{
@@ -1,7 +1,5 @@
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Services.Database;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
@@ -1,9 +1,5 @@
using Discord;
using Discord.WebSocket;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using SixLabors.Fonts;
@@ -11,10 +7,6 @@ using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Drawing.Processing;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using System.Collections.Concurrent;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using NadekoBot.Db;
using Image = SixLabors.ImageSharp.Image;
using Color = SixLabors.ImageSharp.Color;
@@ -1,10 +1,6 @@
using System.Net.Http;
using System.Text.Json;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Services;
using Discord.WebSocket;
namespace NadekoBot.Modules.Gambling.Services;
@@ -1,8 +1,5 @@
using Discord;
using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Services;
using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Services.Database.Models;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Db;
using NadekoBot.Modules.Gambling.Common;
@@ -1,13 +1,7 @@
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using Microsoft.EntityFrameworkCore;
using NadekoBot.Common.Collections;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Db;
using NadekoBot.Extensions;
@@ -1,15 +1,8 @@
using Discord;
using Discord.Commands;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Db.Models;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common;
using NadekoBot.Services;
using SixLabors.Fonts;
using Image = SixLabors.ImageSharp.Image;
using SixLabors.ImageSharp.Processing;
@@ -1,10 +1,6 @@
using Discord;
using Discord.Commands;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Modules.Gambling.Common.Waifu;
using NadekoBot.Extensions;
using NadekoBot.Modules.Gambling.Services;
using System.Threading.Tasks;
using NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling;
@@ -1,12 +1,7 @@
using Discord;
using NadekoBot.Common.Attributes;
using System.Threading.Tasks;
using Wof = NadekoBot.Modules.Gambling.Common.WheelOfFortune.WheelOfFortuneGame;
using Wof = NadekoBot.Modules.Gambling.Common.WheelOfFortune.WheelOfFortuneGame;
using NadekoBot.Modules.Gambling.Services;
using NadekoBot.Modules.Gambling.Common;
using System.Collections.Immutable;
using NadekoBot.Common;
using NadekoBot.Services;
namespace NadekoBot.Modules.Gambling;
@@ -1,13 +1,7 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using System.Collections.Immutable;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Games.Common.Acrophobia;
using NadekoBot.Modules.Games.Services;
using NadekoBot.Common;
namespace NadekoBot.Modules.Games;
@@ -1,12 +1,5 @@
using Discord;
using Discord.Commands;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Common.Attributes;
using NadekoBot.Services;
using NadekoBot.Db;
using NadekoBot.Db;
using NadekoBot.Modules.Games.Services;
using NadekoBot.Modules.Games.Common.ChatterBot;
namespace NadekoBot.Modules.Games;
@@ -1,8 +1,5 @@
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using CommandLine;
using NadekoBot.Common;
using NadekoBot.Extensions;
namespace NadekoBot.Modules.Games.Common.Acrophobia;
@@ -1,7 +1,4 @@
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using Newtonsoft.Json;
namespace NadekoBot.Modules.Games.Common.ChatterBot;
@@ -1,6 +1,4 @@
using System.Threading.Tasks;
namespace NadekoBot.Modules.Games.Common.ChatterBot;
namespace NadekoBot.Modules.Games.Common.ChatterBot;
public interface IChatterBotSession
{
@@ -1,7 +1,4 @@
using NadekoBot.Common;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace NadekoBot.Modules.Games.Common.ChatterBot;
@@ -1,5 +1,4 @@
using Cloneable;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
namespace NadekoBot.Modules.Games.Common;
@@ -1,8 +1,4 @@
using System.IO;
using System.Net.Http;
using NadekoBot.Common;
using NadekoBot.Services;
using Image = SixLabors.ImageSharp.Image;
using Image = SixLabors.ImageSharp.Image;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
@@ -1,7 +1,5 @@
#nullable enable
using System.Diagnostics.CodeAnalysis;
using System.IO;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
namespace NadekoBot.Modules.Games.Hangman;
@@ -1,13 +1,9 @@
#nullable enable
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.Caching.Memory;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using NadekoBot.Modules.Games.Services;
using NadekoBot.Services;
namespace NadekoBot.Modules.Games.Hangman;
@@ -1,6 +1,5 @@
#nullable enable
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace NadekoBot.Modules.Games.Hangman;
@@ -1,6 +1,5 @@
#nullable enable
using System.Diagnostics.CodeAnalysis;
using NadekoBot.Services;
namespace NadekoBot.Modules.Games.Hangman;
@@ -1,7 +1,4 @@
using NadekoBot.Common;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Immutable;
namespace NadekoBot.Modules.Games.Common.Nunchi;
@@ -1,8 +1,4 @@
using System.Threading.Tasks;
using Discord;
using System.Threading;
using NadekoBot.Services;
using NadekoBot.Services.Database.Models;
using NadekoBot.Services.Database.Models;
namespace NadekoBot.Modules.Games.Common;
@@ -1,12 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CommandLine;
using NadekoBot.Common;
using NadekoBot.Services;
namespace NadekoBot.Modules.Games.Common;
@@ -1,12 +1,5 @@
using System.Collections.Concurrent;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Discord.Net;
using Discord.WebSocket;
using System.Text;
using NadekoBot.Extensions;
using NadekoBot.Services;
namespace NadekoBot.Modules.Games.Common.Trivia;

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