Add newline after ``` so single words dont get seen as language (#152)
This commit is contained in:
parent
513755636e
commit
4584fa4e87
1 changed files with 1 additions and 1 deletions
|
@ -1183,7 +1183,7 @@ export async function confirm(bot: Client, channel: TextableChannel, userId: str
|
|||
|
||||
export function messageSummary(msg: SavedMessage) {
|
||||
// Regular text content
|
||||
let result = "```" + (msg.data.content ? disableCodeBlocks(msg.data.content) : "<no text content>") + "```";
|
||||
let result = "```\n" + (msg.data.content ? disableCodeBlocks(msg.data.content) : "<no text content>") + "```";
|
||||
|
||||
// Rich embed
|
||||
const richEmbed = (msg.data.embeds || []).find(e => (e as Embed).type === "rich");
|
||||
|
|
Loading…
Add table
Reference in a new issue