This commit is contained in:
Kwoth 2017-01-29 05:56:55 +01:00
parent d4e78aa8ef
commit dbda89ca5d

View File

@ -712,13 +712,10 @@ namespace NadekoBot.Modules.Music
}
//todo only author or owner
[NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)]
public async Task DeletePlaylist([Remainder] int id)
{
bool success = false;
MusicPlaylist pl = null;
try
@ -747,7 +744,7 @@ namespace NadekoBot.Modules.Music
}
catch (Exception ex)
{
Console.WriteLine(ex);
_log.Warn(ex);
}
}