Update QuoteCommands.cs
This commit is contained in:
parent
84c811bcd1
commit
396f6b5524
@ -52,7 +52,7 @@ namespace NadekoBot.Modules.Utility
|
|||||||
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 uow.Quotes.GetRandomQuoteByKeywordAsync(channel.Guild.Id, keyword).ConfigureAwait(false);
|
||||||
quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(channel.Id, keyword).ConfigureAwait(false);
|
quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(Id, keyword).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (quote == null)
|
if (quote == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user