Update QuoteCommands.cs
This commit is contained in:
parent
555779e3ca
commit
13d7ec2805
@ -49,11 +49,10 @@ namespace NadekoBot.Modules.Utility
|
||||
keyword = keyword.ToUpperInvariant();
|
||||
|
||||
Quote quote;
|
||||
using (var uow = DbHandler.Instance.GetUnitOfWork())
|
||||
{
|
||||
// using (var uow = DbHandler.Instance.GetUnitOfWork())
|
||||
// {
|
||||
// quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(channel.Guild.Id, keyword).ConfigureAwait(false);
|
||||
quote = await Quotes.GetRandomQuoteByKeywordAsync(keyword).ConfigureAwait(false);
|
||||
}
|
||||
// }
|
||||
|
||||
if (quote == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user