Skip to content

Releases: d-shaun/CrownBot

CrownBot v11.1.0

11 Dec 18:11
b278736
Compare
Choose a tag to compare

[Meta]

  • Upgraded to Node.js v17.x because why not;
  • Cleaned up packages;
  • Rm Codacy;

[General changes / new features]

  • Added autocomplete to more commands' "artist name" fields;
  • /nowplaying: added Spotify url and thumbnail;
  • Following commands have been discontinued: /graph, /config
  • Added options to contribute and clear cache of lyrics;
  • Temporarily disabled some memory-extensive caching (will restore if things start going wrong).

[Bug fixes]

  • Fixed an issue where the follow up messages would replace the original response;
  • Fixed an issue where the Retry button could be spammed consecutively with no response from the bot;
  • Fixed paginate # numbers missing from certain embeds;
  • Fixed an issue where the /reportbug command would fail to properly record the reported bugs (very ironic);
  • Fixed an issue where an otherwise not-too-serious errors would entirely crash the bot.

CrownBot v11.0.0

06 Nov 18:13
becec01
Compare
Choose a tag to compare

CrownBot v11.0.0

[Meta]

  • Source code is now under GNU GPLv3 license (previously MIT);
  • Upgraded to Node.js v17.x;
  • Migrated to using discord.js v14 and slash commands.

[General changes / new features]

  • /lyrics command now routes through Last.fm before fetching lyrics to ensure consistent track/artist/album names with other commands;
  • Added button to show a help message on now-playing error;
  • Track scrobbled within the last 3 minutes are now considered "now-playing";
    ------- Project hiatus somewhere around here -------
  • Invite and server links have been updated;
  • Migrated all the commands to Slash, while adding more bugs and eventually fixing all* of them;
  • Removed permissions that are now unnecessary to the bot along with the &permissions command;
  • Added auto-complete to /whoknows command's artist name;
  • Added /reportbug command;
  • Added button to retry failed commands on error messages that lasts for 10 minutes;
  • Use Spotify presence on Discord to get now-playing before trying from Last.fm.

[Bug fixes]

  • Finally fixed the issue of newer users missing from server-specific commands;
  • Fixed /lyrics repeating titles on multiple embeds;
  • Fixed user other than the command executor not being able to click on paginate buttons;
  • /overview now correctly gets the now-playing from the user instead of the @mentioned user;
  • Fixed some typings and centralized all command responses to run command tests/loggers.

CrownBot v10.0.0

05 Oct 17:06
0734564
Compare
Choose a tag to compare

Stable

  • Upgraded to discord.js v13 — A LOT OF REFACTORING;
  • Updated some Last.fm components to adapt to the API changes;
  • &help: Redesigned command;
  • Replaced some cryptic Last.fm error messages;
  • Fixed an issue caused to users with zero scrobbles;
  • Replaced some special characters for embeds to work properly (&playing, &recent);
  • &login: https://discord.com/channels/657915913567469588/663355060058718228/879388787489276034
  • &prefix: Fixed a bug when the cache wouldn't update;
  • Switched to a new button paginator—adios discord-paginationembed for now 😔;
  • &trending: New command!
  • Explicitly request for the ATTACH_FILES permission along with some others (see &permissions).

CrownBot v9.3.0

22 Jun 08:22
f9a1e24
Compare
Choose a tag to compare

Stable

  • Meta:
    • lowered unnecessary caching (messageCacheMaxSize: 20, messageEditHistoryMaxSize: 0)
    • user limit is now 250 (possibly temporarily);
    • commands' args are now case-insensitive;
  • &chart: suppress potential server errors while fetching covers;
  • &nowplaying:
    • support @-ing a user to see their "now-playing" song;
    • updated usage and examples;
  • &playing and &recent: slice off names at 25 chars—urls at 40;
  • &unban: override local bans for users with BAN_MEMBERS permission to be able to unban themselves;

Beta

  • &lyrics:
    • removed routing requests through Last.fm—instead search directly on Genius;
    • fx minor error message;
  • &purgelyrics: added a new beta command to purge cached lyrics to reflect recent changes if any.

CrownBot v9.2.0

28 Jan 19:15
eaf815d
Compare
Choose a tag to compare

Stable

  • &nowplaying has been moved to the stable release;
  • Updated error handlers in the Album and User components;
  • Log exception errors to a specified channel;
  • &logout, &deletecrowns, &ban, &minplaysforcrown: ensure awaited message exists before altering it;
  • Validate scrape response data before parsing it;
  • &graph: support for graphing a specific year;

Beta

  • New beta command: &spotify.

CrownBot v9.1.0

30 Dec 16:46
482da9a
Compare
Choose a tag to compare

Beta

  • Added a new beta command: &nowplaying; the aliases for this command are &np and &fm.

CrownBot v9.0.0

28 Dec 17:40
a485466
Compare
Choose a tag to compare

Stable

  • &list: reverted the recent change of v9.0.0-beta—removed hyperlinks because this command kept hitting the embed description limit (2048 characters);
  • Restored the "The bot has encountered an unexpected error [...]" message;
  • search_user: added support for resolving user IDs; affected commands are: &ban, &unban, &crowns, &recent, and &taste;
  • &chart: made it resort to generic placeholder image when Last.fm refuses to serve album covers;
  • &help: fixed &help beta throwing a fatal error;
  • &trackplays: fixed a bug that caused the command to fail when explicitly providing the track name.

CrownBot v9.0.0-beta

17 Dec 08:03
0065a34
Compare
Choose a tag to compare

Stable

  • Refactored most of the codes for better TypeScript support;
  • &chart: changes from beta has been merged with added "track" image (it's actually the album cover) support (see &help chart);
  • &list: added support for top albums and hyperlinked elements' names (definitely see &help list);
  • Implemented a wrapper for Last.fm responses:
    • Has better checks for errors and ability to show the error-message response from Last.fm whenever possible;
  • Fixed GitHub Action (./.github/workflows/tsc.yml) running twice on PRs;

Beta

  • &lyrics: fixed the song title showing up on multiple embeds, and removed all mentions of "Genius" (to dodge potential lawsuit kekw);
  • &graph: expanded command usage for the &help command.

CrownBot v8.3.0

07 Dec 16:50
863f1d1
Compare
Choose a tag to compare

Stable

  • Changes in &help <command_name>:
    • Make "usage" optional;
    • Show details instead for beta command in opted-in servers.

Beta

  • &chart: added support for artist and track; see &help chart.
    (NOTE: track images don't work just yet)

CrownBot v8.2.0

26 Nov 15:34
3b9019f
Compare
Choose a tag to compare

Stable

  • Disabled sending error messages on fatal bot exceptions;
  • Escaped Discord's markdown characters in artist, album, and track names throughout multiple commands;
  • Renamed:
    &songplays => &trackplays
    &topalbumsongs => &topalbumtracks
    &whoplays => &whoknowstrack
    (Aliases on the left side are still usable; see https://discord.com/channels/657915913567469588/657922261382201356/780529202843090964.)
  • &wkt: reworded title—removed server name;
  • New command: &whoknowsalbum. See &help wka.

Beta

  • &graph: added padding (30, 15, 15, 15) around the graph.