From 9895f37c5347ddadab7ef2314a17743f6a541d13 Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 04:46:16 +0530 Subject: [PATCH] Update QuoteCommands.cs --- src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs index 47709235..7467bfd3 100644 --- a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs @@ -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(Id, keyword).ConfigureAwait(false); + quote = await uow.Quotes.GetRandomQuoteByKeyword.ConfigureAwait(false); } if (quote == null)