Skip to content

Commit

Permalink
feat(listing): small fixes and project image
Browse files Browse the repository at this point in the history
  • Loading branch information
darkpaladi committed Aug 15, 2024
1 parent 2cbd606 commit 24b4017
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/analyze.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function analyze() {
const contributors = await getContributors()
const currentTokenList = await getCurrentTokenList()

if (!newToken) {
if (newToken?.name.length == 0) {
return
}

Expand Down
1 change: 1 addition & 0 deletions scripts/notify-telegram.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ${newToken.bullishSentence}
console.log(text)
const response = await axios.post(url, {
chat_id: chatId,
photo: newToken.projectImage,
text: text,
parse_mode: 'Markdown',
})
Expand Down
5 changes: 3 additions & 2 deletions src/new-token.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"website": "",
"twitter": "",
"telegram": ""
}
}
},
"projectImage": ""
}

0 comments on commit 24b4017

Please sign in to comment.