From e8d0b6f3461ed760197829cb5ee9451706184f9f Mon Sep 17 00:00:00 2001 From: Kevin <92656833+kevinthegreat1@users.noreply.github.com> Date: Tue, 9 Jul 2024 05:49:11 +0800 Subject: [PATCH] Fix discord announcement not including minecraft version (#821) (cherry picked from commit 5aece824aacc1c1608096f1cf3fd6e59317b8052) --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 40304d77f5..f7157fa506 100644 --- a/build.gradle +++ b/build.gradle @@ -145,7 +145,7 @@ publishMods { discord { webhookUrl = System.getenv("DISCORD_WEBHOOK") username = "Changelog" - content = changelog.map { "<@&1134565945482948638>\n## Skyblocker v${mod_version}\n" + it} + content = changelog.map { "<@&1134565945482948638>\n## ${displayName}\n" + it} } }