Skip to content

Commit

Permalink
chore: update API import to use v8 in readme (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
almostSouji committed Nov 3, 2020
1 parent 7992fab commit e405305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -61,10 +61,10 @@ import { APIUser } from 'discord-api-types';
You should instead consider adding the API version you want to target by appending `/v*`, where the `*` represents the API version.

```js
const { APIUser } = require('discord-api-types/v6');
const { APIUser } = require('discord-api-types/v8');
```

```ts
// TypeScript/ES Module support
import { APIUser } from 'discord-api-types/v6';
import { APIUser } from 'discord-api-types/v8';
```

0 comments on commit e405305

Please sign in to comment.