Merge pull request #1842 from shikhir-arora/1.9

.quoteid/.qid shows quote author in output [feathub/287]
This commit is contained in:
Master Kwoth 2017-11-17 16:45:30 +01:00 committed by GitHub
commit 4f299cf70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,8 +132,9 @@ namespace NadekoBot.Modules.Utility
} }
else else
{ {
await Context.Channel.SendMessageAsync($"`#{qfromid.Id}` 🗯️ " + qfromid.Keyword.ToLowerInvariant().SanitizeMentions() + ": " + await Context.Channel.SendMessageAsync($"`#{qfromid.Id} added by {qfromid.AuthorName.SanitizeMentions()}` 🗯️ " + qfromid.Keyword.ToLowerInvariant().SanitizeMentions() + ": " +
rep.Replace(qfromid.Text)?.SanitizeMentions()); rep.Replace(qfromid.Text)?.SanitizeMentions());
} }
} }