Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

0.5.0

Compare
Choose a tag to compare
@amishshah amishshah released this 16 Jun 16:24
· 46 commits to main since this release

VoiceConnection changes

  • new disconnect() method if you want to disconnect the connection without destroying it
  • reconnect() -> rejoin(joinConfig?)
    • This and the below change were to improve clarity. What this method does is actually try to re-join a voice channel (rather than try to fix a broken voice connection)
  • reconnectAttempts -> rejoinAttempts
  • calling joinVoiceChannel when an existing connection exists that is disconnected will now call rejoin() on that connection

Other

  • Nicer errors are thrown when you don't have a valid encryption package installed
  • Some improvements to the music bot example

Commit log

  • fix(Examples): youtube-dl-exec args

    Passing q: true worked on Ubuntu, but on some other systems, this was parsed as -q true rather than -q.

  • refactor(Examples): remove unnecessary guard in music bot example

    Resolves #125

  • feat!(VoiceConnection): add disconnect and rename reconnect to rejoin (#129)

    • fix(VoiceConnection): reconnect now sets proper disconnect reason

    • feat(VoiceConnection): disconnect method

    • refactor(VoiceConnection): reconnect -> rejoin

    • feat(VoiceConnection): allow updating joinConfig

    • refactor(VoiceConnection): allow rejoin in non-destroyed states

    • refactor(VoiceConnection): reconnectAttempts -> rejoinAttempts

    • test(VoiceConnection): new methods

    • refactor(VoiceConnection): remove negated if statement

  • feat(Secretbox): throw fallback error when no encryption package installed (#130)

    • feat(Secretbox): display fallback error when no valid installation

    • test(Secretbox): no errors thrown with package installed

    • test(Secretbox): fix tweetnacl test

  • refactor(Secretbox): type methods object (#131) - Antonio Román [email protected]

  • chore(Release): v0.5.0