- removed unused attributes on commands

- Removed some commented out files
This commit is contained in:
Kwoth
2021-06-21 02:24:11 +02:00
parent 49f9b96755
commit 656db01aca
89 changed files with 569 additions and 2918 deletions

View File

@@ -29,18 +29,18 @@ namespace NadekoBot.Modules.Utility
_selfService = selfService;
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[OwnerOnly]
public Task BotConfigEdit()
=> Config("bot");
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[Priority(0)]
[OwnerOnly]
public Task BotConfigEdit(string prop, [Leftover] string newValue = null)
=> Config("bot", prop, newValue);
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[OwnerOnly]
public async Task ConfigReload(string name)
{
@@ -63,7 +63,7 @@ namespace NadekoBot.Modules.Utility
await ctx.OkAsync();
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[OwnerOnly]
public async Task Config(string name = null, string prop = null, [Leftover] string value = null)
{