feat: add API v10 support (#7477)

* feat: add API v10 support

* refactor: update deps

* chore: rebase fixes
This commit is contained in:
Suneet Tipirneni
2022-03-15 16:37:07 -04:00
committed by GitHub
parent 9b0d8cb2d8
commit 72577c4bfd
144 changed files with 196 additions and 203 deletions

View File

@@ -4,7 +4,7 @@ import type {
APIButtonComponent,
APIButtonComponentWithCustomId,
APIButtonComponentWithURL,
} from 'discord-api-types/v9';
} from 'discord-api-types/v10';
import {
buttonLabelValidator,
buttonStyleValidator,

View File

@@ -5,7 +5,7 @@ import {
type APIButtonComponent,
type APIButtonComponentWithURL,
type APIButtonComponentWithCustomId,
} from 'discord-api-types/v9';
} from 'discord-api-types/v10';
import { ComponentBuilder } from '../Component';
/**