From f327ce496f1ab2157135fbae44f8629b3c795fb0 Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Wed, 15 Mar 2023 16:38:20 +0000 Subject: [PATCH] Rust commits fix link --- lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.js b/lib.js index c115bf0..881d66c 100644 --- a/lib.js +++ b/lib.js @@ -708,7 +708,7 @@ class rustCommits .setAuthor({name:commit.Author, iconURL:commit.Avatar==''?"https://i.imgur.com/g6FSNhL.png":commit.Avatar,url:`https://commits.facepunch.com/${commit.Author.split(' ').join('')}`}) .setDescription(commit.Content) .addFields( - { name:`${commit.Repo}`, value:`[${commit.Repo}/${commit.Branch}](https://commits.facepunch.com/r/${commit.Repo}/${commit.Branch.split(' ')? commit.Branch.split(' ').join('%20'):commit.Branch}/ 'Branch Link')`}, + { name:`${commit.Repo}`, value:`[${commit.Repo}/${commit.Branch}](https://commits.facepunch.com/r/${commit.Repo}/${commit.Branch.split(' ')? commit.Branch.split(' ').join('%20'):commit.Branch} 'Branch Link')`}, { name: 'ID', value: commit.ID.toString() }, ) .setTimestamp()