From 02e35db780188d4902a757d0e1be700e64b81bba Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Nov 2017 08:04:46 -0500 Subject: [PATCH 1/2] .qid shows author Per https://feathub.com/Kwoth/NadekoBot/+287 and Kwoth --- NadekoBot.Core/Modules/Utility/QuoteCommands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NadekoBot.Core/Modules/Utility/QuoteCommands.cs b/NadekoBot.Core/Modules/Utility/QuoteCommands.cs index 1056a73a..21bfb2f5 100644 --- a/NadekoBot.Core/Modules/Utility/QuoteCommands.cs +++ b/NadekoBot.Core/Modules/Utility/QuoteCommands.cs @@ -133,7 +133,8 @@ namespace NadekoBot.Modules.Utility else { await Context.Channel.SendMessageAsync($"`#{qfromid.Id}` 🗯️ " + qfromid.Keyword.ToLowerInvariant().SanitizeMentions() + ": " + - rep.Replace(qfromid.Text)?.SanitizeMentions()); + rep.Replace(qfromid.Text)?.SanitizeMentions() + " `added by:` " + qfromid.AuthorName.SanitizeMentions()); + } } From d8d3719f4f442ea9f451e68c9d1d7417891658d9 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Nov 2017 10:19:37 -0500 Subject: [PATCH 2/2] Update QuoteCommands.cs --- NadekoBot.Core/Modules/Utility/QuoteCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot.Core/Modules/Utility/QuoteCommands.cs b/NadekoBot.Core/Modules/Utility/QuoteCommands.cs index 21bfb2f5..9b5746f8 100644 --- a/NadekoBot.Core/Modules/Utility/QuoteCommands.cs +++ b/NadekoBot.Core/Modules/Utility/QuoteCommands.cs @@ -132,8 +132,8 @@ namespace NadekoBot.Modules.Utility } else { - await Context.Channel.SendMessageAsync($"`#{qfromid.Id}` 🗯️ " + qfromid.Keyword.ToLowerInvariant().SanitizeMentions() + ": " + - rep.Replace(qfromid.Text)?.SanitizeMentions() + " `added by:` " + qfromid.AuthorName.SanitizeMentions()); + await Context.Channel.SendMessageAsync($"`#{qfromid.Id} added by {qfromid.AuthorName.SanitizeMentions()}` 🗯️ " + qfromid.Keyword.ToLowerInvariant().SanitizeMentions() + ": " + + rep.Replace(qfromid.Text)?.SanitizeMentions()); }