Skip to content

Commit

Permalink
fix(discord-release-alert): 馃悰 mentions failing in embeded payload
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDynamo committed Apr 19, 2024
1 parent 2c30e4c commit 8e87c41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/semantic-release-discord/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ const success = (pluginConfig, context) => {
const isBeta = version.includes("beta");

const discordPayload = {
content: `${isBeta ? "<@&1141148163558887495>" : "<@&1150177174167494826>"}`,
embeds: [
{
title: `馃殌 New ${isBeta ? "Beta" : ""} Release [${version}] 馃殌`,
description: `We are excited to announce the release of **${version}**! This ${isBeta ? "beta" : ""} release comes with the following changes: \n\n**What\'s changed in this ${isBeta ? "beta" : ""} release?**\n${parseNotes(notes)}\n**How can you get the ${isBeta ? "beta" : ""} release?**\nTo access the ${isBeta ? "beta" : ""} release, simply use \`ghcr.io/wizarrrr/wizarr:${isBeta ? "beta" : "latest"}\` as your image tag and re-create your container, pulling the updated image. Your feedback is crucial to helping us make each release even better, so please don\'t hesitate to reach out with any comments, questions, or bug reports.\n\n${isBeta ? "Happy testing! 馃И" : "Happy updating! 馃帀"}\n\n${isBeta ? "<@&1141148163558887495>" : "<@&1150177174167494826>"}`,
description: `We are excited to announce the release of **${version}**! This ${isBeta ? "beta" : ""} release comes with the following changes: \n\n**What\'s changed in this ${isBeta ? "beta" : ""} release?**\n${parseNotes(notes)}\n**How can you get the ${isBeta ? "beta" : ""} release?**\nTo access the ${isBeta ? "beta" : ""} release, simply use \`ghcr.io/wizarrrr/wizarr:${isBeta ? "beta" : "latest"}\` as your image tag and re-create your container, pulling the updated image. Your feedback is crucial to helping us make each release even better, so please don\'t hesitate to reach out with any comments, questions, or bug reports.\n\n${isBeta ? "Happy testing! 馃И" : "Happy updating! 馃帀"}`,
url: url,
color: 16728405,
author: {
Expand Down

0 comments on commit 8e87c41

Please sign in to comment.