Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: Ensure events possess Client<true> #8612

Merged
merged 2 commits into from Sep 11, 2022

Conversation

Jiralite
Copy link
Member

Please describe the changes this PR makes and why it should be merged:
Emitted events should have a ready client. The types should now reflect this.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@vercel
Copy link

vercel bot commented Sep 10, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
discord-js ⬜️ Ignored (Inspect) Sep 11, 2022 at 6:29PM (UTC)

@codecov
Copy link

codecov bot commented Sep 10, 2022

Codecov Report

Merging #8612 (620c3f7) into main (4ffdada) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head 620c3f7 differs from pull request most recent head b60bb2c. Consider uploading reports for the commit b60bb2c to get more accurate results

@@            Coverage Diff             @@
##             main    #8612      +/-   ##
==========================================
+ Coverage   86.47%   86.50%   +0.03%     
==========================================
  Files          87       87              
  Lines        8675     8673       -2     
  Branches     1110     1110              
==========================================
+ Hits         7502     7503       +1     
+ Misses       1131     1128       -3     
  Partials       42       42              
Flag Coverage Δ
builders 100.00% <100.00%> (ø)
collection 100.00% <ø> (ø)
proxy 74.10% <ø> (ø)
rest 91.99% <ø> (ø)
utilities 100.00% <ø> (ø)
voice 63.86% <ø> (ø)
ws 60.47% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/collection/src/collection.ts 100.00% <ø> (ø)
packages/voice/src/DataStore.ts 98.14% <ø> (ø)
packages/voice/src/networking/Networking.ts 3.18% <ø> (ø)
packages/voice/src/networking/VoiceUDPSocket.ts 90.47% <ø> (ø)
packages/voice/src/networking/VoiceWebSocket.ts 0.00% <ø> (ø)
packages/voice/src/receive/SSRCMap.ts 86.20% <ø> (ø)
packages/voice/src/receive/SpeakingMap.ts 100.00% <ø> (ø)
packages/voice/src/util/Secretbox.ts 33.33% <ø> (ø)
...trategies/context/WorkerContextFetchingStrategy.ts 92.00% <ø> (-0.16%) ⬇️
.../src/strategies/sharding/WorkerShardingStrategy.ts 95.87% <ø> (-0.02%) ⬇️
... and 4 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kodiakhq kodiakhq bot merged commit a9f003a into discordjs:main Sep 11, 2022
@Jiralite Jiralite deleted the types/client-true branch September 11, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants