diff --git a/docs/services/discord.md b/docs/services/discord.md index 0c27b0cd..466d8a9d 100644 --- a/docs/services/discord.md +++ b/docs/services/discord.md @@ -5,7 +5,7 @@ Your Discord Webhook-URL will look like this: !!! info "" - https://discordapp.com/api/webhooks/__`webhookid`__/__`token`__ + https://discord.com/api/webhooks/__`webhookid`__/__`token`__ The shoutrrr service URL should look like this: @@ -16,26 +16,26 @@ The shoutrrr service URL should look like this: ## Creating a webhook in Discord -1. Open your server settings by first clicking on the name of the server. +1. Open your channel settings by first clicking on the gear icon next to the name of the channel. ![Screenshot 1](discord/sc-1.png) -2. Then click on *Server Settings*. +2. In the menu on the left, click on *Integrations*. ![Screenshot 2](discord/sc-2.png) -3. In the menu on the left, click on *Webhooks*. +3. In the menu on the right, click on *Create Webhook*. ![Screenshot 3](discord/sc-3.png) -4. In the top right corner, click on *Create Webhook*. +4. Set the name, channel and icon to your liking and click the *Copy Webhook URL* button. ![Screenshot 4](discord/sc-4.png) -5. Set name, channel and icon to your liking and copy the *Webhook URL* on the bottom. Then click save. +5. Press the *Save Changes* button. ![Screenshot 5](discord/sc-5.png) -6. Format the service URL +6. Format the service URL: ``` -https://discordapp.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ - └────────────────┘ └──────────────────────────────────────────────────────────────────┘ - webhook id token +https://discord.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ + └────────────────┘ └──────────────────────────────────────────────────────────────────┘ + webhook id token discord://W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ@693853386302554172 └──────────────────────────────────────────────────────────────────┘ └────────────────┘ diff --git a/docs/services/discord/sc-1.png b/docs/services/discord/sc-1.png index 7574d185..d92a07ad 100644 Binary files a/docs/services/discord/sc-1.png and b/docs/services/discord/sc-1.png differ diff --git a/docs/services/discord/sc-2.png b/docs/services/discord/sc-2.png index cb88c67c..4d89db5f 100644 Binary files a/docs/services/discord/sc-2.png and b/docs/services/discord/sc-2.png differ diff --git a/docs/services/discord/sc-3.png b/docs/services/discord/sc-3.png index 8e99fed1..b5dda4de 100644 Binary files a/docs/services/discord/sc-3.png and b/docs/services/discord/sc-3.png differ diff --git a/docs/services/discord/sc-4.png b/docs/services/discord/sc-4.png index 69227d5b..14726607 100644 Binary files a/docs/services/discord/sc-4.png and b/docs/services/discord/sc-4.png differ diff --git a/docs/services/discord/sc-5.png b/docs/services/discord/sc-5.png index 81afb0ed..e1f50b06 100644 Binary files a/docs/services/discord/sc-5.png and b/docs/services/discord/sc-5.png differ diff --git a/pkg/services/discord/discord.go b/pkg/services/discord/discord.go index ae1bc6cc..385bda24 100644 --- a/pkg/services/discord/discord.go +++ b/pkg/services/discord/discord.go @@ -26,7 +26,7 @@ var limits = types.MessageLimit{ } const ( - hookURL = "https://discordapp.com/api/webhooks" + hookURL = "https://discord.com/api/webhooks" // Only search this many runes for a good split position maxSearchRunes = 100 )