Global Quotes

- made quotes global
because its better to have quotes global while custom reaction can be both
This commit is contained in:
samvaio 2016-11-23 03:48:18 +05:30 committed by GitHub
parent 511a643b8e
commit 3939aefa56

View File

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