Update QuoteCommands.cs

This commit is contained in:
samvaio 2016-11-23 04:36:35 +05:30 committed by GitHub
parent 6217ec9668
commit 84c811bcd1

View File

@ -52,7 +52,7 @@ namespace NadekoBot.Modules.Utility
using (var uow = DbHandler.Instance.GetUnitOfWork())
{
// quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(channel.Guild.Id, keyword).ConfigureAwait(false);
quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(keyword, keyword).ConfigureAwait(false);
quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(channel.Id, keyword).ConfigureAwait(false);
}
if (quote == null)