Implicit usings and more global usings

This commit is contained in:
Kwoth
2021-12-21 02:19:21 +01:00
parent 9223d78849
commit c66e491ce9
317 changed files with 272 additions and 1425 deletions

View File

@@ -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;

View File

@@ -1,5 +1,4 @@
using CommandLine;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing;

View File

@@ -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
{

View File

@@ -1,6 +1,4 @@
using Discord;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
namespace NadekoBot.Modules.Gambling.Common.Blackjack;
public abstract class Player
{

View File

@@ -1,7 +1,4 @@
using Discord;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public class CurrencyRaffleGame
{

View File

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

View File

@@ -1,5 +1,4 @@
using CommandLine;
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.Events;

View File

@@ -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;

View File

@@ -1,6 +1,4 @@
using System.Threading.Tasks;
namespace NadekoBot.Modules.Gambling.Common;
namespace NadekoBot.Modules.Gambling.Common;
public interface ICurrencyEvent
{

View File

@@ -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;

View File

@@ -1,5 +1,4 @@
using Cloneable;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
using SixLabors.ImageSharp.PixelFormats;
using YamlDotNet.Serialization;

View File

@@ -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;

View File

@@ -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
{

View File

@@ -1,6 +1,4 @@
using NadekoBot.Common;
namespace NadekoBot.Modules.Gambling.Common.Slot;
namespace NadekoBot.Modules.Gambling.Common.Slot;
public class SlotGame
{

View File

@@ -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
{