Skip to content

Commit 0abdc5b

Browse files
authored
Merge pull request #85 from is-a-dev/discord-guide
feat: update discord verification guide
2 parents a230768 + fa3c6bf commit 0abdc5b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/guides/discord-verification.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,38 @@ tags: guides
1111
1. Open your Discord app and press `Settings`.
1212
![](../media/discord/step_1.png)
1313

14-
1. Open the `Connections` section.
14+
2. Open the `Connections` section.
1515
![](../media/discord/step_2.png)
1616

17-
1. Press the `View more` button.
17+
3. Press the `View more` button.
1818
![](../media/discord/step_3.png)
1919

20-
1. Click on the domain button (the globe icon).
20+
4. Click on the domain button (the globe icon).
2121
![](../media/discord/step_4.png)
2222

23-
1. In the field that appears type your is-a.dev domain name (e.g. `example.is-a.dev`).
23+
5. In the field that appears type your is-a.dev domain name (e.g. `example.is-a.dev`).
2424
![](../media/discord/step_5.png)
2525

26-
1. Copy the verification string.
26+
6. Copy the verification string.
2727
![](../media/discord/step_6.png)
2828

29-
### Create the domain file
29+
### Edit your domain file
3030

31-
Create a JSON file inside the `domains/` directory called `domains/_discord.example.json` with the following content:
31+
!!!
32+
You must already own an is-a.dev domain to do this.
33+
!!!
34+
35+
Edit your domain file (`domains/your-domain.json`) and **add this snippet after the `records` key**:
3236

3337
```json
34-
{
35-
"owner": {
36-
"username": "your-github-username",
37-
"email": "[email protected]"
38-
},
39-
"records": {
40-
"TXT": "discord-verification-string"
41-
}
38+
"services": {
39+
"discord": "your-discord-verification-string"
4240
}
4341
```
4442

43+
Please remember to add a comma after the `records` key's closing brace!
44+
4545
## Configuration
4646

47-
After your pull request has been merged, repeat the steps to get the verification string and press the `Verify` button.
47+
After your pull request has been merged, repeat steps 1–5 and press the `Verify` button.
4848
If it shows any error such as `Unable to verify your domain`, try waiting a few minutes (sometimes up to 24 hours) as the DNS might not have propagated yet.

0 commit comments

Comments
 (0)