Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ProFiLeR4100 authored Mar 17, 2024
1 parent 7c16595 commit ada94e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ try {
return `<img src="${messagePart.smallUrl}" />`;
case 'mention':
return `<strong>@${messagePart.displayName}</strong>`;
case 'link':
return `<a href="${messagePart.url}">${messagePart.content[0]}</a>`;
default:
return '';
}
})
.join(''),
Expand Down

0 comments on commit ada94e5

Please sign in to comment.