build: bump discord-api-types to 0.37.82 (#10226)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2024-04-27 18:16:20 +01:00
committed by GitHub
parent dc8f14967c
commit c2e68ceaad
11 changed files with 29 additions and 28 deletions

View File

@@ -69,7 +69,7 @@
"@discordjs/ws": "workspace:^",
"@sapphire/snowflake": "^3.5.3",
"@vladfrangu/async_event_emitter": "^2.2.4",
"discord-api-types": "0.37.79"
"discord-api-types": "0.37.82"
},
"devDependencies": {
"@discordjs/api-extractor": "workspace:^",

View File

@@ -198,8 +198,9 @@ export class Client extends AsyncEventEmitter<MappedEvents> {
this.gateway.on(WebSocketShardEvents.Dispatch, ({ data: dispatch, shardId }) => {
this.emit(
dispatch.t,
// TODO: This comment will have to be moved down once the new Poll events are added to the `ManagerShardEventsMap`
// @ts-expect-error event props can't be resolved properly, but they are correct
dispatch.t,
this.wrapIntrinsicProps(dispatch.d, shardId),
);
});