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,5 +1,4 @@
using System.Runtime.CompilerServices;
using Discord.Commands;
namespace NadekoBot.Common.Attributes;

View File

@@ -1,6 +1,4 @@
using Discord.Commands;
namespace Discord;
namespace Discord;
public class BotPermAttribute : RequireBotPermissionAttribute
{

View File

@@ -1,6 +1,4 @@
using System.IO;
namespace NadekoBot.Common.Attributes;
namespace NadekoBot.Common.Attributes;
public static class CommandNameLoadHelper
{

View File

@@ -1,6 +1,4 @@
using Discord.Commands;
namespace NadekoBot.Common.Attributes;
namespace NadekoBot.Common.Attributes;
[AttributeUsage(AttributeTargets.Method)]
public sealed class DescriptionAttribute : SummaryAttribute

View File

@@ -1,5 +1,4 @@
using System.Runtime.CompilerServices;
using Discord.Commands;
namespace NadekoBot.Common.Attributes;

View File

@@ -1,6 +1,4 @@
using Discord.Commands;
namespace NadekoBot.Common.Attributes;
namespace NadekoBot.Common.Attributes;
[AttributeUsage(AttributeTargets.Class)]
sealed class NadekoModuleAttribute : GroupAttribute

View File

@@ -1,8 +1,5 @@
using System.Threading.Tasks;
using Discord.Commands;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Extensions;
using NadekoBot.Services;
namespace NadekoBot.Common.Attributes;

View File

@@ -1,7 +1,4 @@
using Discord.Commands;
using NadekoBot.Services;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
namespace NadekoBot.Common.Attributes;

View File

@@ -1,6 +1,4 @@
using Discord.Commands;
namespace NadekoBot.Common.Attributes;
namespace NadekoBot.Common.Attributes;
[AttributeUsage(AttributeTargets.Method)]
public sealed class UsageAttribute : RemarksAttribute

View File

@@ -1,6 +1,4 @@
using System.Threading.Tasks;
using Discord.Commands;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using NadekoBot.Modules.Administration.Services;
namespace Discord;