mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-15 00:03:38 -07:00
Use favicon as avatar for Discord webhooks
This commit is contained in:
parent
90d71c5b9e
commit
81a6d363d1
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
|
@ -151,5 +151,6 @@ jobs:
|
||||||
Content-Type: application/json; charset=UTF-8
|
Content-Type: application/json; charset=UTF-8
|
||||||
body: |
|
body: |
|
||||||
{
|
{
|
||||||
|
"avatar_url": "https://raw.githubusercontent.com/${{ github.event.repository.full_name }}/${{ github.ref_name }}/favicon.png",
|
||||||
"content": "**${{ github.event.repository.name }}** new version released!\nVersion: `${{ github.ref_name }}`\nChangelog: <${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md>"
|
"content": "**${{ github.event.repository.name }}** new version released!\nVersion: `${{ github.ref_name }}`\nChangelog: <${{ github.event.repository.html_url }}/blob/${{ github.ref_name }}/Changelog.md>"
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue