Releases: 200percentmicky/chadmusic
2023.5.1
This is a maintenance release.
Fixed: Fixed an issue in [p]playlist-add
where the track's URL wasn't being provided correctly.
2023.5.0
This release adds support for playlists, sharding support, changes how cookies are managed, and improves IPv6 rotation support.
Important
Breaking Changes
- Node.js 18 is now required since Node.js 16 has reached end-of-life.
- The reactions in
[p]iheartradio
,[p]play
, and[p]search
had their variables switched fromEMOJI_MUSIC
toREACTION_MUSIC
.
Warning
Deprecated Features
- The
YOUTUBE_COOKIES
environment variable has been deprecated in favor of the new cookies system. You may still use this variable, but its use may be removed in a future release. - Classic prefix commands have been deprecated (despite fixing current commands and creating new ones for this release) to focus on improvements to slash commands.
They will not be removed anytime soon andthePREFIX
variable can still be applied if you wish to use them, but no more commands will be made after this release.
- Added: Support for creating and managing playlists.
- Added: New commands.
[p]playlist-add
|/playlist add
[p]playlist-clone
|/playlist clone
[p]playlist-delete
|/playlist delete
[p]playlist-new
|/playlist new
[p]playlist-purge
|/playlist purge
[p]playlist-remove
|/playlist remove
[p]playlist-show
|/playlist show
[p]playlist-view
|/playlist view
/play playlist
- Added: Support to shard the bot.
- Added: New environment variables.
SHARDING
SHARDS
SPOTIFY_EMIT_EVENTS_AFTER_FETCHING
SPOTIFY_PARALLELL
- Added: New file:
cookies.json
- Added: The build number to the version string.
- Changed:
[p]iheartradio
and/play radio iheartradio
now provides search results for stations, instead of playing the first result. - Changed: Implemented a new cookies system.
- Changed: Implemented improved IPv6 Rotation support.
- Changed: Increased spacing in
[p]queue
and/queue now
. - Changed:
[p]search
and/search
no longer throws an exception when no results were found. - Changed: Options for fetching content from Spotify are now configurable.
- Changed:
allowFreeVolume
is nowfalse
by default. - Changed: Minor changes to the logs.
- Changed: Miscellaneous code cleanup.
- Changed: Updated packages. The bot is now using Discord.js v14.13.0 and slash-create v5.13.0.
- Fixed:
/core debug
is now fully functional and no longer errors out. - Fixed:
[p]reload
uses the proper emojis for reactions. - Removed: Old unused JSON files.
v2023.4.6
This is a maintenance release.
- Fixed: Fixed
/skip force
from throwingUnknown interaction
exception. - Fixed:
[p]play
no longer logs autocomplete not being implemented. - Known issue: Using
[p]search
may throw aInvalid string length
exception. Use/search
for the time being.
Full Changelog: 2023.4.5...2023.4.6
v2023.4.5
This is a maintenance release.
- Changed:
[p]reverse
and/filter reverse
no longer uses an argument. Running the command now toggles the filter. - Changed:
[p]thumbnailsize
no longer has any aliases.
Full Changelog: 2023.4.4...2023.4.5
v2023.4.4
This is a maintenance release.
ChadMusic now has documentation! It will always be up to date with the latest version.
- Added: A button that points to the documenation in
[p]help
. - Changed: Command syntax in
[p]help
to use a code-block. - Changed: Argument in
/settings textchannel
is now optional. If nothing is provided, the setting will be removed. - Changed: Shutting down the bot will properly provide a 0 exit code.
- Fixed: Select menu breaking in
[p]search
and/search
due to name limits.- This was suppose to be fixed in 2023.4.3, but failed since it still provided a string that broke the menu.
- Fixed: The buttons in
[p]resetdata
not showing or working at all. - Removed: Unused variables in
.env.example
. - Updated dependencies.
- Updated README
Full Changelog: 2023.4.3...2023.4.4
v2023.4.3
This is a maintenance release.
- Changed: Search results now use a builder method.
- Fixed: Search results throwing an error if the Select Menu label exceeds 100 characters.
- Removed: Deprecated methods.
Full Changelog: 2023.4.2...2023.4.3
v2023.4.2
This is a maintenance release.
This update mainly removes the "#0" discriminator from accounts that updated to the new username system.
Full Changelog: 2023.4.1...2023.4.2
v2023.4.1
This is a maintenance release.
Added
- Added a new function to check for file extensions when uploading files, or using URLs with a file extension.
- Added missing information in
[p]play
regarding support for attachments.
Changes
- The message and slash command interactions were added to player events to be handled better.
- An error will now be thrown if a file that was uploaded was not a video or audio file, or the file couldn't be read.
- Internal code changes.
Removed
- Some unused dependencies were removed.
- Removed an unused function.
Full Changelog: 2023.4.0...2023.4.1
2023.4.0-1
This is just a minor update that updates @distube/ytdl-core to 4.11.10.
ℹ️ This will probably be the one and only time I do this. In the future, when a dependency needs updated, just use
npm install
to update the package to the latest version. I will update the latest release to provide instructions when I'm aware of a dependency update.
Full Changelog: 2023.4.0...2023.4.0-1
v2023.4.0
This is a feature release.
Added
- New commands.
[p]globalsettings
and/settings global current
[p]leaveonempty
and/settings global leaveonempty
[p]leaveonfinish
and/settings global leaveonfinish
[p]leaveonstop
and/settings global leaveonstop
[p]shownewsongonly
and/settings global shownewsongonly
[p]streamtype
and/settings global streamtype
[p]emptycooldown
and/settings global emptycooldown
Changed
- Message command arguments were overhauled to better support your bot's mention as a prefix.
- Embed colors are now parsed as hex values. Please consider updating your colors to use hex values in your
.env
file. - Updated the
Usage
prompt to use a code block. - All emojis have been updated to their string counterparts. This was due to an internal change in Discord that prevented emojis from rendering in the client.
- Other internal changes to class names, how the embeds are structured, and how the code is structured overall.
- In addition to the new commands above, boolean values are now accepted.
- Updated dependencies. The bot is now running on Discord.JS 14.11.0, and slash-create 5.12.0.
Fixes
- The bot will now stay in the voice channel if "Leave on Stop" is disabled.
- Fixed an issue in
[p]forceskip
and/skip force
where the bot would send the "Skipping..." prompt regardless if the end of the queue was reached. - Fixed an issue in
[p]skipto
where it wasn't jumping to the selected track. - Fixed an issue in
[p]thumbnailsize
where any value was being accepted. The command should only accept either large or small.
Removed
- The following environment variables will no longer be used. They were replaced with the above commands that the owner can configure without restarting the bot. (excluding SERVER_INVITE.)
- LEAVE_ON_STOP
- LEAVE_ON_FINISH
- LEAVE_ON_EMPTY
- EMIT_NEW_SONG_ONLY
- SERVER_INVITE
- The bot will no longer set its game status to "Watching your mom" when starting up. This was an inside joke from when the bot was closed source.
Full Changelog: 2023.3.3...2023.4.0