Skip to content

Commit 691922a

Browse files
authored
Change to no-embeds (#343)
### Notes Fixes the issue with no embeds case format!
2 parents c4285f0 + dc21686 commit 691922a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord-scripts/fix-linear-embed.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ async function processLinearEmbeds(
204204
return
205205
}
206206
// Let's include a text call if no embeds are to be used in a message
207-
if (message.includes("<no_embeds>")) {
207+
if (message.includes("<no-embeds>")) {
208208
logger.debug(
209-
`Skipping embeds for message: ${messageId} (contains <no_embeds>)`,
209+
`Skipping embeds for message: ${messageId} (contains <no-embeds>)`,
210210
)
211211
return
212212
}

0 commit comments

Comments
 (0)