- 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

@@ -47,7 +47,7 @@ namespace NadekoBot.Modules.Music
}
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
public async Task Playlists([Leftover] int num = 1)
{
@@ -69,7 +69,7 @@ namespace NadekoBot.Modules.Music
await ctx.Channel.EmbedAsync(embed).ConfigureAwait(false);
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
public async Task DeletePlaylist([Leftover] int id)
{
@@ -102,7 +102,7 @@ namespace NadekoBot.Modules.Music
await ReplyConfirmLocalizedAsync("playlist_deleted").ConfigureAwait(false);
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
public async Task PlaylistShow(int id, int page = 1)
{
@@ -129,7 +129,7 @@ namespace NadekoBot.Modules.Music
}, mpl.Songs.Count, 20).ConfigureAwait(false);
}
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
public async Task Save([Leftover] string name)
{
@@ -172,7 +172,7 @@ namespace NadekoBot.Modules.Music
private static readonly SemaphoreSlim _playlistLock = new SemaphoreSlim(1, 1);
[NadekoCommand, Usage, Description, Aliases]
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
public async Task Load([Leftover] int id)
{