Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsickert authored Sep 7, 2022
1 parent 5a66a28 commit 4dcef8e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Want to know more about Discord Webhooks? Check out the [intro](https://support.

## Recent Updates

- Support for embed URL
- Support for embed URL (5.1.0)
- Support for multiple operating systems (v5.0.0)
- Improved performance (v5.0.0)
- Changed to TypeScript Action (v5.0.0)
Expand All @@ -20,19 +20,19 @@ Want to know more about Discord Webhooks? Check out the [intro](https://support.
| Name | Required | Description |
|-----------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| webhook-url | `true` | Webhook URL from discord. See: the [intro to webhook docs](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) for details |
| content | `false` | Message that is sent via the webhook. |
| username | `false` | The username that should appear to send the message. Note: username will have the "bot" badge next to their name. |
| avatar-url | `false` | URL for the avatar that should appear with the message. |
| content | `false` | Message that is sent via the webhook |
| username | `false` | The username that should appear to send the message. Note: username will have the "bot" badge next to their name |
| avatar-url | `false` | URL for the avatar that should appear with the message |
| tts | `false` | Whether the message is text-to-speech |
| raw-data | `false` | Filename of raw JSON body to send. **If this is provided, all other inputs (except `webhook-url`) are ignored**. |
| filename | `false` | Filename of file to upload. **This input is overridden by `raw-data`. If this is provided, `username` and `avatar-url` are still honored**. |
| embed-title | `false` | Title for embed. |
| embed-url | `false` | URL for embed. |
| embed-description | `false` | Description for embed. |
| embed-timestamp | `false` | Timestamp for embed (ISO8601 format). |
| embed-color | `false` | Color for embed (integer). |
| embed-footer-text | `false` | Text content for embed footer. |
| embed-footer-icon-url | `false` | Icon URL for embed footer. |
| raw-data | `false` | Filename of raw JSON body to send. **If this is provided, all other inputs (except `webhook-url`) are ignored** |
| filename | `false` | Filename of file to upload. **This input is overridden by `raw-data`. If this is provided, `username` and `avatar-url` are still honored** |
| embed-title | `false` | Title for embed |
| embed-url | `false` | URL for embed |
| embed-description | `false` | Description for embed |
| embed-timestamp | `false` | Timestamp for embed (ISO8601 format) |
| embed-color | `false` | Color for embed (integer) |
| embed-footer-text | `false` | Text content for embed footer |
| embed-footer-icon-url | `false` | Icon URL for embed footer |
| embed-image-url | `false` | Embed image URL. |
| embed-thumbnail-url | `false` | Embed Thumbnail URL |
| embed-author-name | `false` | Embed Author Name |
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.1.0
uses: tsickert/discord-webhook@v5.1.1
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: "Test"
Expand All @@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.1.0
uses: tsickert/discord-webhook@v5.1.1
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: "Test"
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.1.0
uses: tsickert/discord-webhook@v5.1.1
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
raw-data: hi.json
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v5.1.0
uses: tsickert/discord-webhook@v5.1.1
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
filename: test.txt
Expand Down

0 comments on commit 4dcef8e

Please sign in to comment.