Rust commits fix link

master
Cristiano Pires 2 years ago
parent f04c3fe5b8
commit f327ce496f

@ -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()

Loading…
Cancel
Save