discordjs / voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
Apache License 2.0
327 stars 111 forks source link

fix(Examples): destroy discord.js v12 adapter less readily #160

Closed amishshah closed 3 years ago

amishshah commented 3 years ago

Please describe the changes this PR makes and why it should be merged:

Adjusts the discord.js v12 adapter to match the same destroy conditions given by the adapter provided with discord.js v13.

Resolves #153

Status and versioning classification:

codecov[bot] commented 3 years ago

Codecov Report

Merging #160 (9d5fdd7) into main (7796a38) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #160   +/-   ##
=======================================
  Coverage   68.65%   68.65%           
=======================================
  Files          19       19           
  Lines         906      906           
  Branches      221      221           
=======================================
  Hits          622      622           
  Misses        282      282           
  Partials        2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7796a38...9d5fdd7. Read the comment docs.