Skip to content

Commit 1fa1b60

Browse files
committed
fix bug causing incorrect rendering of HTTP methods
1 parent 976b4a7 commit 1fa1b60

21 files changed

+175
-175
lines changed

docs/resources/application-role-connection-metadata.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Each metadata type offers a comparison operation that allows guilds to configure
4040

4141
## Get Application Role Connection Metadata Records
4242

43-
<Route type="GET">/applications/[\{application.id\}](/docs/resources/application#application-object)/role-connections/metadata</Route>
43+
<Route method="GET">/applications/[\{application.id\}](/docs/resources/application#application-object)/role-connections/metadata</Route>
4444

4545
Returns a list of [application role connection metadata](/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object) objects for the given application.
4646

4747
## Update Application Role Connection Metadata Records
4848

49-
<Route type="PUT">/applications/[\{application.id\}](/docs/resources/application#application-object)/role-connections/metadata</Route>
49+
<Route method="PUT">/applications/[\{application.id\}](/docs/resources/application#application-object)/role-connections/metadata</Route>
5050

5151
Updates and returns a list of [application role connection metadata](/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object) objects for the given application.
5252

docs/resources/application.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ You can configure your app's install link in your [app's settings](https://disco
227227
The Default Install Settings will appear on the **Installation** page when you have "Discord Provided Link" selected as your install link type.
228228

229229
## Get Current Application
230-
<Route type="GET">/applications/@me</Route>
230+
<Route method="GET">/applications/@me</Route>
231231

232232
Returns the [application](/docs/resources/application#application-object) object associated with the requesting bot user.
233233

234234
## Edit Current Application
235-
<Route type="PATCH">/applications/@me</Route>
235+
<Route method="PATCH">/applications/@me</Route>
236236

237237
Edit properties of the app associated with the requesting bot user. Only properties that are passed will be updated. Returns the updated [application](/docs/resources/application#application-object) object on success.
238238

docs/resources/audit-log.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ For most objects, the change keys may be any field on the changed object. The fo
198198
| [Webhook](/docs/resources/webhook#webhook-object) | `avatar_hash` key (instead of `avatar`) | |
199199

200200
## Get Guild Audit Log
201-
<Route type="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/audit-logs</Route>
201+
<Route method="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/audit-logs</Route>
202202

203203
Returns an [audit log](/docs/resources/audit-log#audit-log-object) object for the guild. Requires the [`VIEW_AUDIT_LOG`](/docs/topics/permissions#permissions-bitwise-permission-flags) permission.
204204

docs/resources/auto-moderation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Users are required to have the `MANAGE_GUILD` permission to access all Auto Mode
199199
Some [action types](/docs/resources/auto-moderation#auto-moderation-action-object-action-types) require additional permissions, e.g. the `TIMEOUT` action type requires an additional `MODERATE_MEMBERS` permission.
200200

201201
## List Auto Moderation Rules for Guild
202-
<Route type="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules</Route>
202+
<Route method="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules</Route>
203203

204204
Get a list of all rules currently configured for the guild. Returns a list of [auto moderation rule](/docs/resources/auto-moderation#auto-moderation-rule-object) objects for the given guild.
205205

@@ -208,7 +208,7 @@ This endpoint requires the `MANAGE_GUILD` [permission](/docs/resources/auto-mode
208208
:::
209209

210210
## Get Auto Moderation Rule
211-
<Route type="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
211+
<Route method="GET">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
212212

213213
Get a single rule. Returns an [auto moderation rule](/docs/resources/auto-moderation#auto-moderation-rule-object) object.
214214

@@ -217,7 +217,7 @@ This endpoint requires the `MANAGE_GUILD` [permission](/docs/resources/auto-mode
217217
:::
218218

219219
## Create Auto Moderation Rule
220-
<Route type="POST">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules</Route>
220+
<Route method="POST">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules</Route>
221221

222222
Create a new rule. Returns an [auto moderation rule](/docs/resources/auto-moderation#auto-moderation-rule-object) on success. Fires an [Auto Moderation Rule Create](/docs/events/gateway-events#auto-moderation-rule-create) Gateway event.
223223

@@ -250,7 +250,7 @@ See [Trigger Types](/docs/resources/auto-moderation#auto-moderation-rule-object-
250250

251251

252252
## Modify Auto Moderation Rule
253-
<Route type="PATCH">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
253+
<Route method="PATCH">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
254254

255255
Modify an existing rule. Returns an [auto moderation rule](/docs/resources/auto-moderation#auto-moderation-rule-object) on success. Fires an [Auto Moderation Rule Update](/docs/events/gateway-events#auto-moderation-rule-update) Gateway event.
256256

@@ -281,7 +281,7 @@ This endpoint supports the `X-Audit-Log-Reason` header.
281281
\* Can be omitted based on `trigger_type`. See the `Associated Trigger Types` column in [trigger metadata](/docs/resources/auto-moderation#auto-moderation-rule-object-trigger-metadata) to understand which `trigger_type` values require `trigger_metadata` to be set.
282282

283283
## Delete Auto Moderation Rule
284-
<Route type="DELETE">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
284+
<Route method="DELETE">/guilds/[\{guild.id\}](/docs/resources/guild#guild-object)/auto-moderation/rules/[\{auto_moderation_rule.id\}](/docs/resources/auto-moderation#auto-moderation-rule-object)</Route>
285285

286286
Delete a rule. Returns a `204` on success. Fires an [Auto Moderation Rule Delete](/docs/events/gateway-events#auto-moderation-rule-delete) Gateway event.
287287

0 commit comments

Comments
 (0)