From 396f6b55248e43a9bae9f93ab6ed7faabc33132d Mon Sep 17 00:00:00 2001 From: samvaio Date: Wed, 23 Nov 2016 04:40:39 +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 73dd4adf..47709235 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(channel.Id, keyword).ConfigureAwait(false); + quote = await uow.Quotes.GetRandomQuoteByKeywordAsync(Id, keyword).ConfigureAwait(false); } if (quote == null)