Skip to content

Commit 58c0d11

Browse files
Updated links
1 parent 05314a6 commit 58c0d11

18 files changed

+66
-66
lines changed

docs/change-log/2017-07-24-new-feature-audit-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "New Feature: Audit Logs"
33
date: "2017-07-24"
44
---
55

6-
Audit logs are here! Well, they've been here all along, but now we've got [documentation](/docs/resources/audit-log#) about them. Check it out, but remember: with great power comes great responsibility.
6+
Audit logs are here! Well, they've been here all along, but now we've got [documentation](/docs/resources/audit-log) about them. Check it out, but remember: with great power comes great responsibility.

docs/change-log/2018-01-23-deprecation-accept-invite-endpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "Deprecation: Accept Invite Endpoint"
33
date: "2018-01-23"
44
---
55

6-
The [Accept Invite](/docs/resources/invite#) endpoint is deprecated starting today, and will be discontinued on March 23, 2018. The [Add Guild Member](/docs/resources/guild#add-guild-member) endpoint should be used in its place.
6+
The [Accept Invite](/docs/resources/invite) endpoint is deprecated starting today, and will be discontinued on March 23, 2018. The [Add Guild Member](/docs/resources/guild#add-guild-member) endpoint should be used in its place.

docs/change-log/2019-08-12-more-precise-rate-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ title: "More Precise Rate Limits"
33
date: "2019-08-12"
44
---
55

6-
You can now get more precise rate limit reset times, via a new request header. Check out the [rate limits](/docs/topics/rate-limits#) documentation for more information.
6+
You can now get more precise rate limit reset times, via a new request header. Check out the [rate limits](/docs/topics/rate-limits) documentation for more information.

docs/change-log/2020-12-15-slash-commands-and-interactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Slash Commands and Interactions"
33
date: "2020-12-15"
44
---
55

6-
Slash Commands are here! There's a *lot* to cover, so go check out specific documentation under [Slash Commands](/docs/interactions/application-commands#).
6+
Slash Commands are here! There's a *lot* to cover, so go check out specific documentation under [Slash Commands](/docs/interactions/application-commands).
77

88
Slash Commands include some new features for webhooks as well:
99

docs/change-log/2023-09-26-premium-app-subscriptions-available-in-the-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Starting today, eligible US-based developers can monetize their verified apps wi
1717
* [Delete Test Entitlement](/docs/resources/entitlement#delete-test-entitlement) `DELETE /applications/<application.id>/entitlements/<entitlement.id>`
1818
* [Gateway Events](/docs/events/gateway-events#entitlements) for working with entitlements: `ENTITLEMENT_CREATE`, `ENTITLEMENT_UPDATE`, `ENTITLEMENT_DELETE`
1919
* New [`PREMIUM_REQUIRED (10)` interaction response type](/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type) is available to prompt users to upgrade
20-
* New `entitlements` field, which is an array of [entitlement](/docs/resources/entitlement#) objects, available in interaction data payloads when [receiving and responding to interactions](/docs/interactions/receiving-and-responding#interaction-object-interaction-structure)
20+
* New `entitlements` field, which is an array of [entitlement](/docs/resources/entitlement) objects, available in interaction data payloads when [receiving and responding to interactions](/docs/interactions/receiving-and-responding#interaction-object-interaction-structure)
2121

2222
To learn more about eligibility details and how to enable monetization for your app, check out the [Monetization Overview](/docs/monetization/overview).

docs/components/reference.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For a practical guide on implementing these components, see our [Using Message C
2929

3030
Components allow you to style and structure your messages, modals, and interactions. They are interactive elements that can create rich user experiences in your Discord applications.
3131

32-
Components are a field on the [message object](/docs/resources/message#message-object) and [modal](/docs/interactions/receiving-and-responding#interaction-response-object-modal). You can use them when creating messages or responding to an interaction, like an [application command](/docs/interactions/application-commands#).
32+
Components are a field on the [message object](/docs/resources/message#message-object) and [modal](/docs/interactions/receiving-and-responding#interaction-response-object-modal). You can use them when creating messages or responding to an interaction, like an [application command](/docs/interactions/application-commands).
3333

3434
### Component Object
3535

@@ -1153,13 +1153,13 @@ To use this component, you need to send the [message flag](/docs/resources/messa
11531153

11541154
## Unfurled Media Item Structure
11551155

1156-
| Field | Type | Description |
1157-
|---------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------|
1158-
| url | string | Supports arbitrary urls and attachment://\<filename> references |
1159-
| proxy_url? | string | The proxied url of the media item. This field is ignored and provided by the API as part of the response |
1160-
| height? | integer | The height of the media item. This field is ignored and provided by the API as part of the response |
1161-
| width? | integer | The width of the media item. This field is ignored and provided by the API as part of the response |
1162-
| content_type? | string | The [media type](https://en.wikipedia.org/wiki/Media_type) of the content. This field is ignored and provided by the API as part of the response |
1156+
| Field | Type | Description |
1157+
|---------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------|
1158+
| url | string | Supports arbitrary urls and attachment://\<filename> references |
1159+
| proxy_url? | string | The proxied url of the media item. This field is ignored and provided by the API as part of the response |
1160+
| height? | ?integer | The height of the media item. This field is ignored and provided by the API as part of the response |
1161+
| width? | ?integer | The width of the media item. This field is ignored and provided by the API as part of the response |
1162+
| content_type? | string | The [media type](https://en.wikipedia.org/wiki/Media_type) of the content. This field is ignored and provided by the API as part of the response |
11631163

11641164
### Uploading a file
11651165

docs/components/using-message-components.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ All content must be sent as components instead of using the standard message for
3030

3131
```json
3232
{
33+
"flags": "32768",
3334
"components": [
3435
{
3536
"type": 10,
3637
"content": "This is a message using the Text Display component"
3738
},
38-
],
39-
"flags": "32768"
39+
]
4040
}
4141
```
4242

@@ -46,6 +46,7 @@ To send a message with multiple components, you can include multiple component o
4646

4747
```json
4848
{
49+
"flags": "32768",
4950
"components": [
5051
{
5152
"type": 10,
@@ -55,8 +56,7 @@ To send a message with multiple components, you can include multiple component o
5556
"type": 10,
5657
"content": "This is another Text Display component!"
5758
},
58-
],
59-
"flags": "32768"
59+
]
6060
}
6161
```
6262

@@ -68,6 +68,7 @@ For example, you can create a message with an Action Row component that contains
6868

6969
```json
7070
{
71+
"flags": "32768",
7172
"components": [
7273
{
7374
"type": 10,
@@ -90,8 +91,7 @@ For example, you can create a message with an Action Row component that contains
9091
}
9192
]
9293
}
93-
],
94-
"flags": "32768"
94+
]
9595
}
9696
```
9797

docs/developer-tools/community-resources.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Discord does not maintain official SDKs. The following table is an inexhaustive
3737

3838
## Interactions
3939

40-
[Interactions](/docs/interactions/receiving-and-responding#) are the great, new way of making a Discord bot. The following open-source libraries provide help for the security and authentication checks that are mandatory if you are receiving Interactions via outgoing webhook. They also include some types for the Interactions data models.
40+
[Interactions](/docs/interactions/receiving-and-responding) are the great, new way of making a Discord bot. The following open-source libraries provide help for the security and authentication checks that are mandatory if you are receiving Interactions via outgoing webhook. They also include some types for the Interactions data models.
4141

4242
- C#
4343
- [Discord.Net.Rest](https://github.com/discord-net/Discord.Net)

docs/events/gateway-events.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Receive events are Gateway events encapsulated in an [event payload](/docs/event
354354
| [Integration Create](/docs/events/gateway-events#integration-create) | Guild integration was created |
355355
| [Integration Update](/docs/events/gateway-events#integration-update) | Guild integration was updated |
356356
| [Integration Delete](/docs/events/gateway-events#integration-delete) | Guild integration was deleted |
357-
| [Interaction Create](/docs/events/gateway-events#interaction-create) | User used an interaction, such as an [Application Command](/docs/interactions/application-commands#) |
357+
| [Interaction Create](/docs/events/gateway-events#interaction-create) | User used an interaction, such as an [Application Command](/docs/interactions/application-commands) |
358358
| [Invite Create](/docs/events/gateway-events#invite-create) | Invite to a channel was created |
359359
| [Invite Delete](/docs/events/gateway-events#invite-delete) | Invite to a channel was deleted |
360360
| [Message Create](/docs/events/gateway-events#message-create) | Message was created |
@@ -1384,7 +1384,7 @@ Sent when a guild channel's webhook is created, updated, or deleted.
13841384

13851385
#### Interaction Create
13861386

1387-
Sent when a user uses an [Application Command](/docs/interactions/application-commands#) or [Message Component](/docs/components/reference#component-object). Inner payload is an [Interaction](/docs/interactions/receiving-and-responding#interaction-object-interaction-structure).
1387+
Sent when a user uses an [Application Command](/docs/interactions/application-commands) or [Message Component](/docs/components/reference#component-object). Inner payload is an [Interaction](/docs/interactions/receiving-and-responding#interaction-object-interaction-structure).
13881388

13891389
### Stage Instances
13901390

docs/interactions/application-commands.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Details about Entry Point command handler types are in the [Entry Point handlers
121121

122122
## Authorizing Your Application
123123

124-
Application commands do not depend on a bot user in the guild; they use the [interactions](/docs/interactions/receiving-and-responding#) model. To create commands in a guild, your app must be authorized with the `applications.commands` scope which can be used independently, but is also automatically included with the `bot` scope.
124+
Application commands do not depend on a bot user in the guild; they use the [interactions](/docs/interactions/receiving-and-responding) model. To create commands in a guild, your app must be authorized with the `applications.commands` scope which can be used independently, but is also automatically included with the `bot` scope.
125125

126126
When requesting this scope, we "shortcut" the OAuth2 flow similar to adding a bot. You don't need to complete the flow, exchange for a token, or any of that.
127127

0 commit comments

Comments
 (0)