fixed .play

This commit is contained in:
Master Kwoth
2017-07-02 16:20:25 +02:00
parent 45e4816033
commit b33e4bdd80
3 changed files with 4 additions and 3 deletions

View File

@ -125,7 +125,7 @@ namespace NadekoBot.Modules.Music
[RequireContext(ContextType.Guild)]
public Task Play([Remainder]string query = null)
{
if (string.IsNullOrWhiteSpace(query))
if (!string.IsNullOrWhiteSpace(query))
try { return Queue(query); } catch (QueueFullException) { return Task.CompletedTask; }
else
return Next();