mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Implicit usings and more global usings
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
using Discord.Commands;
|
||||
|
||||
namespace Discord;
|
||||
namespace Discord;
|
||||
|
||||
public class BotPermAttribute : RequireBotPermissionAttribute
|
||||
{
|
||||
|
@@ -1,6 +1,4 @@
|
||||
using System.IO;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
public static class CommandNameLoadHelper
|
||||
{
|
||||
|
@@ -1,6 +1,4 @@
|
||||
using Discord.Commands;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class DescriptionAttribute : SummaryAttribute
|
||||
|
@@ -1,5 +1,4 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using Discord.Commands;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
using Discord.Commands;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
sealed class NadekoModuleAttribute : GroupAttribute
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
using Discord.Commands;
|
||||
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
namespace NadekoBot.Common.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class UsageAttribute : RemarksAttribute
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user