Between version 2.1.1 and version 3.0.0, drastic changes have taken place. Those changes have a high impact on the public API therefore there are breaking changes, hence the need to release a new major version.
The following are the expected breaking changes in users' codebase.
Discord has added text channels directly embedded in voice channels. Therefore, the objective of such feature in this library is already completed. I decided it was for the good to remove the support of this feature in this new major version.
The events related to voice channel creation and deletion have been removed. Why do they exist in the first place to be honest?
The childCreate
and childDelete
events have been renamed as childAdd
and childRemove
.
You cannot interact with the channels collection anymore. It did not feel right that you could in the first place anyway.
The unregisterChannel
method now returns a boolean value which expresses whether the unregister
system ran successfully or not.