Skip to content

Commit

Permalink
Fix Discord webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
MineGame159 committed Jan 8, 2025
1 parent e9903c4 commit 3819e27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/builds/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ function sendDiscordWebhook() {
}
if (hasChanges) description += changes;

if (success) {
description += "\n\nVisit our [website](https://meteorclient.com) for download";
}

const webhook = {
username: "Builds",
avatar_url: "https://meteorclient.com/icon.png",
Expand Down
2 changes: 1 addition & 1 deletion .github/builds/mc_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function getMcVersion() {

for await (const line of lines) {
if (line.startsWith("minecraft_version")) {
mcVersion = line.substring(0, line.indexOf("="))
mcVersion = line.substring(line.indexOf("=") + 1)
break
}
}
Expand Down

0 comments on commit 3819e27

Please sign in to comment.