mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
- removed unused attributes on commands
- Removed some commented out files
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user