Files
cadence-discord-bot/CHANGELOG.md
T

40 KiB

Changelog

3.6.4 (2023-08-08)

Minor changes and bug fixes

Miscellaneous

  • deps: bump discord.js from 14.11.0 to 14.12.1 (f799c95)
  • deps: bump pino from 8.14.2 to 8.15.0 (39a3362)

3.6.3 (2023-08-01)

Miscellaneous

  • add workflow for auto adding contributors to readme (fa7146e)
  • deps-dev: bump eslint from 8.45.0 to 8.46.0 (50587b5)
  • deps: bump pino from 8.14.1 to 8.14.2 (493e374)

3.6.2 (2023-07-30)

Minor changes and bug fixes

3.6.1 (2023-07-28)

Minor changes and bug fixes

  • enforce max character length of 100 for name and value in autocomplete (724f407)
  • fixed lyrics being cut off (002f520)

3.6.0 (2023-07-27)

Features

Minor changes and bug fixes

  • Also validate is user is in same voice channel as bot for commands (311e141)
  • Improvement to play command autocomplete search (f590558)

Miscellaneous

  • remove comment and rewrite text (0887a47)
  • update isNew status for stop command (0d003a8)

3.5.0 (2023-07-27)

Features

Minor changes and bug fixes

  • Fixed error when no thumbnail available (80f26af)
  • update filter property name to correct name (8b0c0e3)

Miscellaneous

  • make text for track amount bold (76d1177)

3.4.0 (2023-07-26)

Features

Miscellaneous

  • update shuffle command description (18a88ec)

3.3.2 (2023-07-26)

Minor changes and bug fixes

  • handle "all" yt warnings requiring confirmations (215d36e)

3.3.1 (2023-07-26)

Minor changes and bug fixes

  • add support for new site and auto post shard count and member count (8713baa)

3.3.0 (2023-07-25)

Features

  • Added options for load testing to automatically play music in specified channels (8e04d59)

3.2.4 (2023-07-25)

Minor changes and bug fixes

  • Additional handling of autocomplete interaction errors (524b4d2)
  • Possibly fix interaction not reply errors (36c5a15)

3.2.3 (2023-07-24)

Minor changes and bug fixes

  • don't run permission validation on autocomplete interactions (fd63691)
  • don't warn user about execution time (3b842f3)
  • Update to 300 seconds timeout for collectorFilters (57bc6c8)

3.2.2 (2023-07-24)

Minor changes and bug fixes

  • Handle max queue size in /play command when adding large playlists. (8e42f75)

3.2.1 (2023-07-24)

Minor changes and bug fixes

  • Added configurable options for buffering and connection timeout (15ecca7)
  • Added Normalizer as filter, fixed bug with bassboost filter enabling normalizing filter not working properly (21b15a1)
  • also show emoji for enabled filters, show to user that normalizer gets enabled when selecting bass boost. (aebc726)
  • enable normalizer filter when bassboost is chosen (b236371)

3.2.0 (2023-07-23)

Features

  • Added /status user command, updated /systemstatus command (831ff04)
  • added status of active voice connections, tracks in queues and listeners across shards (88ac919)
  • Updated /help command to be dynamic (b95a652)

Minor changes and bug fixes

  • create copy of status system command to be used by users (aa82c6d)
  • make player accessible globally for use in sharding eval (bcc0c92)

3.1.1 (2023-07-23)

Minor changes and bug fixes

  • fixed loop mode will continue playing tracks after /stop (ab38f85)
  • Fixed name field in response can be over 100 characters. (3c522df)

3.1.0 (2023-07-23)

Features

  • added /stop command (3c52841)
  • Autocomplete queries in /play command (025715c)
  • Renamed validator files and added permission validator (b68b7da)

Minor changes and bug fixes

  • add logging for youtube confirmation errors (50f4157)
  • Added check on text channel permissions on intereactionCreate (0c7a627)
  • Added new /stop command to /help list (e2ea990)
  • Handle youtube graphic or violent imagery warning (cef6b7f)

3.0.0 (2023-07-21)

⚠ BREAKING CHANGES

  • Sharding implemented across the bot

Features

  • add sharding with discord.js (006f2fa)
  • Sharding implemented across the bot (9c15c63)
  • update ready events to handle sharding (184b528)
  • Updated /guilds and /status (partly) to use sharding for values (8f1d253)
  • Updated logging for guildCreate and guildDelete for sharding (b160cbf)

Minor changes and bug fixes

  • Actually updated example config with configurable status (1e7d723)
  • Add configurable status/presence options into config.js (5f456da)

2.3.0 (2023-07-20)

Features

  • changed yt cookie name in .env arguments (e3b945b)

Minor changes and bug fixes

  • add error handling to registering commands on startup (e251299)
  • Added try/catch around createClient and createPlayer factory functions (4e81451)
  • More input validation in deploying system commands (85cfad8)
  • Small changes to deploying system commands (3292c88)
  • Update mediaplex and extractor to latest dev versions (72f3690)

Miscellaneous

  • Update README.md with pm2 instructions (342e861)

2.2.3 (2023-07-19)

Minor changes and bug fixes

  • small changes to logging (800f4a3)
  • updated logging service to log levels separately (b95be75)

Miscellaneous

2.2.2 (2023-07-19)

Minor changes and bug fixes

  • fix requiring local files (cd83f72)

2.2.1 (2023-07-18)

Minor changes and bug fixes

  • Add more logging to /play command (389e60b)
  • Add more logging to all commands (8ab4cbe)

2.2.0 (2023-07-18)

Features

  • Added metadata to queue, and added more logging and handling of error events (0bdf572)

Minor changes and bug fixes

  • fixed typo in leaveOnEndCooldown in playerOptions (9c47811)
  • Show total amount of tracks in queue footer besides pages (3f15094)

2.1.3 (2023-07-18)

Minor changes and bug fixes

  • Added player query validation, will transform country-based Spotify URLs (4020442)
  • Adjusted check on query URL domain (5ac130a)
  • Update text in /nowplaying for audio source (2445337)

2.1.2 (2023-07-18)

Minor changes and bug fixes

  • added util for parsing cookies from json and convert to single-line string to .txt (06a3b68)

2.1.1 (2023-07-18)

Minor changes and bug fixes

  • add --legacy-peer-deps flag when installing npm packages in CI pipeline (06c66d7)
  • Moved some utility into categorized folders (29ba4cc)

2.1.0 (2023-07-18)

Features

  • Added common logic for validating command execution (c7400f9)

2.0.0 (2023-07-18)

⚠ BREAKING CHANGES

  • Extracted logic from index.js to separate files
  • Updated configuration and moved config location
  • Extract logic with registering event listeners to a separate file
  • New event handling
  • Updated command folder structure for new command handler
  • Moved source into /src folder

Features

  • Automatically send guildCount stats to botlist sites on startup (547f3ca)
  • Extract logic with registering event listeners to a separate file (9184722)
  • Extracted logic from index.js to separate files (2818778)
  • Moved source into /src folder (ee274fe)
  • New event handling (12d9234)
  • Setup caching in discord.js client for optimization (623502c)
  • Updated command folder structure for new command handler (421734b)
  • Updated configuration and moved config location (dd4b56a)

Minor changes and bug fixes

  • Add support for sending client ready, reconnect and disconnect events to system channel (6fdd943)
  • Add total member count in /guilds system command (d895128)
  • Added another botlist site to auto post stats (17d4295)
  • Changed command logic to be in property execute instead of run (2d0df79)
  • Changed name of deploy slash commands (13f0b02)
  • Enforce indention in switch statements (a4d5ab5)
  • Formatting (1d520e9)
  • Formatting to new eslint rules (bcc4f8f)
  • Update presence status to use discord.js type (6d132c7)
  • Update require of path node module to have node: prefix to bypass require cache (3da8275)
  • Updated formatting rules (22f4a22)

1.7.2 (2023-07-16)

Minor changes and bug fixes

  • fixed formatted string not being formatted correctly (1828995)

1.7.1 (2023-07-16)

Minor changes and bug fixes

  • add more debug logging (52ef374)
  • add support for configurable icons for different sources (9010060)
  • make text where command is referenced bold (de84385)
  • now showing icon for source in /nowplaying (a554551)

1.7.0 (2023-07-16)

Features

Minor changes and bug fixes

  • Fixed showing top x guild count on /guilds system command (c11fd9c)
  • Make commands bold when referenced in replies. (ae134a7)
  • Update duration format in places to have bold text (8ecad8a)
  • Updated /help with seek command (2f1974d)

1.6.0 (2023-07-16)

Features

  • Added /loop command with support for track, queue or autoplay looping (34d50a9)

Minor changes and bug fixes

  • /nowplaying and /queue now indicate looping mode if enabled (3b147bd)
  • /nowplaying showing 'unavailable' views when track.views is set properly (c59fce1)
  • Add configurable icon for autoplay action (21e9587)
  • Add more configurable options for loop and autoplay icons (783f6ad)
  • added /loop command in /help message (18504f4)
  • Added configurable icon for loop action (8450025)
  • added configurable options for muted icon (457dfa1)
  • Added period after sentence in message for toggling filters. (798b65b)
  • fixed /guilds command slicing array before sorting (7e1054d)
  • fixed typo in /loop command description (74b9fa0)
  • Improved user messages for muted audio in /volume (d5eb032)
  • Indicate looping mode in skipping messages if enabled (434bc67)
  • remove period after url when skipping during /nowplaying (8a15400)
  • Set quality and highWaterMark in ytdlOptions (7bc50d6)
  • Update text in help command (d873ada)

1.5.4 (2023-07-15)

Minor changes and bug fixes

  • Add cookie to ytdlOptions (5f081c0)
  • Handle another player error from YouTube. (de3657d)

1.5.3 (2023-07-15)

Minor changes and bug fixes

  • Remove period after link to source in user message (d31f4ed)
  • solve error if track.metadata.bridge is not set (a426135)

1.5.2 (2023-07-15)

Minor changes and bug fixes

  • Fixed retrieving play count for some tracks that does not have track.views set (ea4df17)

1.5.1 (2023-07-15)

Minor changes and bug fixes

  • Show user nickname in interaction reply if set instead of username (923e7a6)

1.5.0 (2023-07-15)

Features

  • Added configurable options for icons for use in embeds (6a44a37)
  • More error handling in /play command, and overhauled user messages. (c4f14ef)

Minor changes and bug fixes

  • Add await in interaction reply when toggling filters (3b496ad)
  • Add warning embed icon to /nowplaying that was missing (d720eec)
  • Corrected embed message color on info message in /nowplaying (85e1e01)
  • Fixed invalid command option name (must be all lowercase) (bf69d94)
  • Remove unnecessary checkmark icon, added more options. (8f859bb)
  • Removed icon for leaving. (0aa810a)
  • Update description of /skip command (4560639)
  • Update layout and styling for /help command (923697c)
  • Update leaving channel message in /leave (e64ba0a)
  • Updated user message in status commands (15f1a87)
  • Updated user messages for /filter command (430e66a)
  • Updated user messages for /leave command (5b214ba)
  • Updated user messages for /nowplaying command (79b4f07)
  • Updated user messages for /pause command (f4aa182)
  • Updated user messages for /queue command (ee11b71)
  • Updated user messages for /remove (0fc9815)
  • Updated user messages for /skip command (960d553)
  • Updated user messages for /volume command (5054da9)
  • Updated user messages for unexpected errors (f36b4d9)

1.4.2 (2023-07-14)

Minor changes and bug fixes

  • Added more configurable options for user replies (65a94ce)

1.4.1 (2023-07-13)

Minor changes and bug fixes

  • Add buffering to pino async logging (67402a8)
  • Added variables for node process args and YouTube cookie to .env file (2df30c5)

1.4.0 (2023-07-13)

Features

  • Add support for trace level logging in logging service (78dcc1b)
  • Added .env file, and moved some properties from config.json to .env file (cc3fd95)
  • Remove pino-pretty as dependency, logger will by default write json to console. (02d9180)
  • Show channel name and bitrate in queue/nowplaying (32bd63b)
  • Updated /status system command with more details (c909afb)

Minor changes and bug fixes

  • add .gitattributes to for crlf line endings (9feaca5)
  • added .editorconfig (ce3e2d6)
  • Added eslint and prettier-eslint for formatting and linting (d0f1c41)
  • Added npm scripts to start and deploy with pino-pretty formatting (3c85841)
  • Do not allow console logging statements (2d7abaa)
  • Make commands inaccessible in direct messages (a4e7931)
  • run 'npm run eslint' in CI workflow (fe544ff)
  • update error message for system commands no permission (595c902)
  • update generated headings for release-please (d9a86fb)
  • Updated descriptions for commands and /help command (19f65e9)

1.3.0 (2023-07-12)

Features

  • added /nowplaying command with interactive skip button (16cc50b)
  • set default player volume to 50%, allow player options to be configured from config (6826fea)
  • system commands are no longer restricted to bot owner id, and can be used in list of specified guilds (cf5151f)

Bug Fixes

  • defer confirmation on filters command (7534322)
  • Fixed execution time warnings and unexpected error (da05193)
  • formatting/linting (550ec1a)
  • reply with "started playing" when adding track to empty queue (4885398)
  • update config.json example with player options (4622f18)
  • update default value for progress bar length (cac18dd)
  • update progress bar in queue command (df9b000)
  • updated duration format in messages (f87d35e)

1.2.0 (2023-07-12)

Features

  • Log events to file based on log level (6bb602e)

Bug Fixes

  • add pino and pino-pretty as dependencies for logging (bb07e5d)
  • added pino logging library (4a2b60e)
  • changed position of guild member count in log calls (3c345cf)
  • Extract logger initialization to own file (53d15b0)
  • implemented new logging service to command deployment (4a2f47c)
  • remove console.log() statement in filters command (6deec52)
  • update .gitignore to not track log files (cf2aa06)
  • update config.json example with minimum log level (c98bcdc)
  • Updated logging to pino for index.js (2fe5fce)

1.1.1 (2023-07-10)

Bug Fixes

  • add page number also on empty queue (0a7f31a)
  • Better handling and formatting of duration (ebe4f74)
  • format track amount as bold instead of code (955bda9)
  • handle unsupported YouTube live stream source (b8bd552)
  • Removed "Failed" heading from reply (7894867)

1.1.0 (2023-07-10)

Features

  • Add playlist support to /play command (88b9566)

Bug Fixes

  • Explicitly set legacy ffmpeg to false, log loaded dependencies on startup (325feed)
  • formatting (f9c4c24)
  • party solves playback immediately cuts off on longer duration yt videoes (5716c67)
  • remove debug logging (5a47630)
  • Set max queue and history size (981c8ce)
  • update user reply with info about /play on empty queue (37f16a5)
  • Use yt-stream instead of play-dl, solves playback of longer duration yt videoes (31a9d8f)

1.0.2 (2023-07-09)

Bug Fixes

  • Remove release-please command in workflow (716eb8c)

1.0.1 (2023-07-09)

Bug Fixes

  • Cut /guilds command message reply length to 4000 characters (8c7d4a0)
  • trying to read title on track for initialized but empty queue (77c91a3)
  • Update command in workflow (1eed36a)
  • Update README with credits to discord.js and discord-player (81a7415)
  • Update release-please command (ba3acd3)
  • Updated link to MIT license in README (4f8fc1e)

1.0.0 (2023-07-09)

Bug Fixes

  • formatting (ee04a7c)
  • Removed logging input values to console (e1dccc7)
  • Try second result when stream can not be extracted (695243f)

Changelog

All notable changes to this project will be documented in this file.