mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
change: add "Jump to Message" action *after* the memssage diff
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
0a930dcab1
commit
5669435bb7
1 changed files with 5 additions and 4 deletions
|
@ -101,10 +101,11 @@ public class MessageEditedResponder : IResponder<IMessageUpdate>
|
||||||
|
|
||||||
Messages.Culture = GuildSettings.Language.Get(cfg);
|
Messages.Culture = GuildSettings.Language.Get(cfg);
|
||||||
|
|
||||||
var builder = new StringBuilder().AppendLine(
|
var builder = new StringBuilder()
|
||||||
string.Format(Messages.DescriptionActionJumpToMessage,
|
.AppendLine(diff.AsMarkdown())
|
||||||
$"https://discord.com/channels/{guildId}/{channelId}/{messageId}"))
|
.AppendLine(string.Format(Messages.DescriptionActionJumpToMessage,
|
||||||
.AppendLine(diff.AsMarkdown());
|
$"https://discord.com/channels/{guildId}/{channelId}/{messageId}")
|
||||||
|
);
|
||||||
|
|
||||||
var embed = new EmbedBuilder()
|
var embed = new EmbedBuilder()
|
||||||
.WithSmallTitle(string.Format(Messages.CachedMessageEdited, message.Author.GetTag()), message.Author)
|
.WithSmallTitle(string.Format(Messages.CachedMessageEdited, message.Author.GetTag()), message.Author)
|
||||||
|
|
Loading…
Add table
Reference in a new issue