discordjs / voice

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

setTimeout args fix and message, interaction event name updated #158

Closed iim-ayush closed 3 years ago

iim-ayush commented 3 years ago

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

image

This is from subscription.ts file located in ./examples/music-bot/src/music/ . setTimeout args were undefined and they were causing some issues for me.

Moreover, message and interaction event got updated. So I updated it.

Status and versioning classification:

Status : Now it is fixed

codecov[bot] commented 3 years ago

Codecov Report

Merging #158 (da9e1e5) into main (7796a38) will not change coverage. The diff coverage is n/a.

:exclamation: Current head da9e1e5 differs from pull request most recent head 90d2d55. Consider uploading reports for the commit 90d2d55 to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  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...90d2d55. Read the comment docs.