Skip to content

Commit

Permalink
Correct the ID part of webhook (#67)
Browse files Browse the repository at this point in the history
* Correct the ID part of webhook

The ID is not actually the channel, it's the ID of the webhook – all webhooks are technically bot users under the hood, and this is their user ID (snowflake)

* Update overview.md
  • Loading branch information
alii authored Oct 24, 2020
1 parent e68669d commit ab7f18c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/services/discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ The shoutrrr service URL should look like this:
```
https://discordapp.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ
└────────────────┘ └──────────────────────────────────────────────────────────────────┘
channel token
webhook id token
discord://W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ@693853386302554172
└──────────────────────────────────────────────────────────────────┘ └────────────────┘
token channel
```
token webhook id
```
2 changes: 1 addition & 1 deletion docs/services/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Click on the service for a more thorough explanation.

| Service | URL format |
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Discord](./discord.md) | *discord://__`token`__@__`channel`__* |
| [Discord](./discord.md) | *discord://__`token`__@__`id`__* |
| [Telegram](./not-documented.md) | *telegram://__`token`__@telegram?channels=__`channel-1`__[,__`channel-2`__,...]* |
| [Pushover](./pushover.md) | *pushover://shoutrrr:__`apiToken`__@__`userKey`__/?devices=__`device1`__[,__`device2`__, ...]* |
| [Slack](./not-documented.md) | *slack://[__`botname`__@]__`token-a`__/__`token-b`__/__`token-c`__* |
Expand Down

0 comments on commit ab7f18c

Please sign in to comment.