Merge pull request #1154 from shikhir-arora/dev-patch

Fix RepeatPlaylist/RepeatSong bug & add quote ID to .qsearch output
This commit is contained in:
Master Kwoth 2017-03-26 18:59:38 +02:00 committed by GitHub
commit a4a28a814f
2 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ namespace NadekoBot.Modules.Music.Classes
} }
if (RepeatPlaylist) if (RepeatPlaylist & !RepeatSong)
AddSong(CurrentSong, CurrentSong.QueuerName); AddSong(CurrentSong, CurrentSong.QueuerName);
if (RepeatSong) if (RepeatSong)

View File

@ -97,7 +97,7 @@ namespace NadekoBot.Modules.Utility
if (keywordquote == null) if (keywordquote == null)
return; return;
await Context.Channel.SendMessageAsync("💬 " + keyword.ToLowerInvariant() + ": " + await Context.Channel.SendMessageAsync($"`#{keywordquote.Id}` 💬 " + keyword.ToLowerInvariant() + ": " +
keywordquote.Text.SanitizeMentions()); keywordquote.Text.SanitizeMentions());
} }
@ -176,4 +176,4 @@ namespace NadekoBot.Modules.Utility
} }
} }
} }
} }