From 3604f6a2474aa29483587982398c9dbc6486a930 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Wed, 22 Mar 2017 02:08:08 -0400 Subject: [PATCH] Add quote ID to output of .qsearch --- src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs index 41c29a44..ea4bc674 100644 --- a/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/Commands/QuoteCommands.cs @@ -97,7 +97,7 @@ namespace NadekoBot.Modules.Utility if (keywordquote == null) return; - await Context.Channel.SendMessageAsync("💬 " + keyword.ToLowerInvariant() + ": " + + await Context.Channel.SendMessageAsync($"`#{keywordquote.Id}` 💬 " + keyword.ToLowerInvariant() + ": " + keywordquote.Text.SanitizeMentions()); } @@ -176,4 +176,4 @@ namespace NadekoBot.Modules.Utility } } } -} \ No newline at end of file +}