Global Quotes
- made quotes global because its better to have quotes global while custom reaction can be both
This commit is contained in:
parent
511a643b8e
commit
3939aefa56
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user