Skip to content

Commit d83dadc

Browse files
authored
docs: fix some grammar mistakes (#485)
1 parent 0bb2204 commit d83dadc

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

website/docs/Contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162
#### `rest`
163163

164164
This folder holds all the types that are related to Discord's REST API. Just like [`payloads`](#payloads), it is split
165-
into folders that have an `index.ts` file. from the structure in [`Discord's API Documentation`](https://discord.dev),
165+
into folders that have an `index.ts` file, from the structure in [`Discord's API Documentation`](https://discord.dev),
166166
under the `Resources` category.
167167

168168
:::info
169169

170170
Types created here must start with the `REST` prefix (for instance `RESTGetAPIUserResult`) unless they are objects or
171171
enums (for instance `Routes`).
172172

173-
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)|Result}`, where:
173+
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)Body|Result}`, where:
174174

175175
- `http_method` is the PascalCase HTTP method name (for instance `Get`, `Post`, and so on)
176176
- `type_name` is the actual name of the type it returns (for instance `APIUser`)

website/versioned_docs/version-0.33.2/Contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162
#### `rest`
163163

164164
This folder holds all the types that are related to Discord's REST API. Just like [`payloads`](#payloads), it is split
165-
into folders that have an `index.ts` file. from the structure in [`Discord's API Documentation`](https://discord.dev),
165+
into folders that have an `index.ts` file, from the structure in [`Discord's API Documentation`](https://discord.dev),
166166
under the `Resources` category.
167167

168168
:::info
169169

170170
Types created here must start with the `REST` prefix (for instance `RESTGetAPIUserResult`) unless they are objects or
171171
enums (for instance `Routes`).
172172

173-
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)|Result}`, where:
173+
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)Body|Result}`, where:
174174

175175
- `http_method` is the PascalCase HTTP method name (for instance `Get`, `Post`, and so on)
176176
- `type_name` is the actual name of the type it returns (for instance `APIUser`)

website/versioned_docs/version-0.33.3/Contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162
#### `rest`
163163

164164
This folder holds all the types that are related to Discord's REST API. Just like [`payloads`](#payloads), it is split
165-
into folders that have an `index.ts` file. from the structure in [`Discord's API Documentation`](https://discord.dev),
165+
into folders that have an `index.ts` file, from the structure in [`Discord's API Documentation`](https://discord.dev),
166166
under the `Resources` category.
167167

168168
:::info
169169

170170
Types created here must start with the `REST` prefix (for instance `RESTGetAPIUserResult`) unless they are objects or
171171
enums (for instance `Routes`).
172172

173-
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)|Result}`, where:
173+
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)Body|Result}`, where:
174174

175175
- `http_method` is the PascalCase HTTP method name (for instance `Get`, `Post`, and so on)
176176
- `type_name` is the actual name of the type it returns (for instance `APIUser`)

website/versioned_docs/version-0.33.4/Contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162
#### `rest`
163163

164164
This folder holds all the types that are related to Discord's REST API. Just like [`payloads`](#payloads), it is split
165-
into folders that have an `index.ts` file. from the structure in [`Discord's API Documentation`](https://discord.dev),
165+
into folders that have an `index.ts` file, from the structure in [`Discord's API Documentation`](https://discord.dev),
166166
under the `Resources` category.
167167

168168
:::info
169169

170170
Types created here must start with the `REST` prefix (for instance `RESTGetAPIUserResult`) unless they are objects or
171171
enums (for instance `Routes`).
172172

173-
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)|Result}`, where:
173+
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)Body|Result}`, where:
174174

175175
- `http_method` is the PascalCase HTTP method name (for instance `Get`, `Post`, and so on)
176176
- `type_name` is the actual name of the type it returns (for instance `APIUser`)

website/versioned_docs/version-0.33.5/Contributing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ normal name (for instance `UserFlags`).
162162
#### `rest`
163163

164164
This folder holds all the types that are related to Discord's REST API. Just like [`payloads`](#payloads), it is split
165-
into folders that have an `index.ts` file. from the structure in [`Discord's API Documentation`](https://discord.dev),
165+
into folders that have an `index.ts` file, from the structure in [`Discord's API Documentation`](https://discord.dev),
166166
under the `Resources` category.
167167

168168
:::info
169169

170170
Types created here must start with the `REST` prefix (for instance `RESTGetAPIUserResult`) unless they are objects or
171171
enums (for instance `Routes`).
172172

173-
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)|Result}`, where:
173+
They must also follow the following structure: `REST{http_method}{type_name}{Query|(JSON|FormData)Body|Result}`, where:
174174

175175
- `http_method` is the PascalCase HTTP method name (for instance `Get`, `Post`, and so on)
176176
- `type_name` is the actual name of the type it returns (for instance `APIUser`)

0 commit comments

Comments
 (0)