Skip to content

Commit 5bca245

Browse files
authored
chore(discord): switch from deprecated discordapp.com domain (#236)
1 parent 3261fbf commit 5bca245

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

docs/services/discord.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Your Discord Webhook-URL will look like this:
66

77
!!! info ""
8-
https://discordapp.com/api/webhooks/__`webhookid`__/__`token`__
8+
https://discord.com/api/webhooks/__`webhookid`__/__`token`__
99

1010
The shoutrrr service URL should look like this:
1111

@@ -16,26 +16,26 @@ The shoutrrr service URL should look like this:
1616

1717
## Creating a webhook in Discord
1818

19-
1. Open your server settings by first clicking on the name of the server.
19+
1. Open your channel settings by first clicking on the gear icon next to the name of the channel.
2020
![Screenshot 1](discord/sc-1.png)
2121

22-
2. Then click on *Server Settings*.
22+
2. In the menu on the left, click on *Integrations*.
2323
![Screenshot 2](discord/sc-2.png)
2424

25-
3. In the menu on the left, click on *Webhooks*.
25+
3. In the menu on the right, click on *Create Webhook*.
2626
![Screenshot 3](discord/sc-3.png)
2727

28-
4. In the top right corner, click on *Create Webhook*.
28+
4. Set the name, channel and icon to your liking and click the *Copy Webhook URL* button.
2929
![Screenshot 4](discord/sc-4.png)
3030

31-
5. Set name, channel and icon to your liking and copy the *Webhook URL* on the bottom. Then click save.
31+
5. Press the *Save Changes* button.
3232
![Screenshot 5](discord/sc-5.png)
3333

34-
6. Format the service URL
34+
6. Format the service URL:
3535
```
36-
https://discordapp.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ
37-
└────────────────┘ └──────────────────────────────────────────────────────────────────┘
38-
webhook id token
36+
https://discord.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ
37+
└────────────────┘ └──────────────────────────────────────────────────────────────────┘
38+
webhook id token
3939
4040
discord://W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ@693853386302554172
4141
└──────────────────────────────────────────────────────────────────┘ └────────────────┘

docs/services/discord/sc-1.png

-97.4 KB
Loading

docs/services/discord/sc-2.png

-126 KB
Loading

docs/services/discord/sc-3.png

-83.1 KB
Loading

docs/services/discord/sc-4.png

-81.4 KB
Loading

docs/services/discord/sc-5.png

-100 KB
Loading

pkg/services/discord/discord.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var limits = types.MessageLimit{
2626
}
2727

2828
const (
29-
hookURL = "https://discordapp.com/api/webhooks"
29+
hookURL = "https://discord.com/api/webhooks"
3030
// Only search this many runes for a good split position
3131
maxSearchRunes = 100
3232
)

0 commit comments

Comments
 (0)