From e40530599ea9206bcbbeaecbce02cbcd301fe523 Mon Sep 17 00:00:00 2001 From: Souji Date: Tue, 3 Nov 2020 15:48:42 +0100 Subject: [PATCH] chore: update API import to use v8 in readme (#35) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36d7d245d..cc8d5316f 100644 --- a/README.md +++ b/README.md @@ -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'; ```