mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix code block escape in embed edit logs
This commit is contained in:
parent
6adcd1b583
commit
8d73e1160f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ export class LogsPlugin extends ZeppelinPlugin<ILogsPluginConfig> {
|
|||
|
||||
// Rich embed
|
||||
const richEmbed = (msg.data.embeds || []).find(e => (e as Embed).type === "rich");
|
||||
if (richEmbed) result += "Embed:```" + JSON.stringify(richEmbed) + "```";
|
||||
if (richEmbed) result += "Embed:```" + disableCodeBlocks(JSON.stringify(richEmbed)) + "```";
|
||||
|
||||
// Attachments
|
||||
if (msg.data.attachments) {
|
||||
|
|
Loading…
Add table
Reference in a new issue