small changes

This commit is contained in:
Master Kwoth
2017-07-01 08:16:06 +02:00
parent d242952d4a
commit f8ad6dda50
4 changed files with 26 additions and 17 deletions

View File

@ -253,10 +253,9 @@ namespace NadekoBot.Modules.Music
[NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)]
public Task Destroy()
public async Task Destroy()
{
_music.DestroyPlayer(Context.Guild.Id);
return Task.CompletedTask;
await _music.DestroyPlayer(Context.Guild.Id);
}
[NadekoCommand, Usage, Description, Aliases]