Skip to content

Releases: ThibautPlg/Discord-LEGO-Bot

V2.0

24 Aug 21:57
Compare
Choose a tag to compare

Legbot 2.0 is launched ! 🚀

The main big breaking change is that Legbot is now answering to / (slashes) commands, like a Discord app. This is due to Discord's changes in the way bots can read messages.
This new version is still able to listen to ! commands if the legacy mode is enabled, but it has to be self-hosted and not be part of more than 100 servers.

Other changes :

  • Adding favicons to some footer notes depending on the source of the information (brickset, rebrickable)
  • Improving the set id parsing
  • Increasing the emote reaction time from 120 to 240 seconds
  • The set command is now fetching the sets designers if available
  • Reworking the price per kg data
  • Adding a link to the different colors available for a part
  • Bugfixes
    Full Changelog: v1.5.5...v2.0

V1.5.5

27 Apr 21:18
Compare
Choose a tag to compare
  • The !set command now returns the designers of the sets (if available) and the related Bricklist.
    • Require an external script to get this data.
  • Improving !set string parsing in middle of sentences.
  • "Delete" and "bigger picture" reactions have now a timeout of 240 seconds instead of 120.
  • Legbot now replies directly to the original message.
  • Adding websites favicon at the bottom of cards depending on the origin of the data.
  • Upgrading discord.js version and changing node-fetch call to match the new behaviour of the library.

Full Changelog: v1.5.4...v1.5.5

v1.5.3

29 Dec 11:06
Compare
Choose a tag to compare
  • The "bigger picture" reaction can now itself have a 🗑️ (:wastebasket:) reaction to delete the enlarged picture.
  • Extended the 🗑️ (:wastebasket:) reaction listener from 60 to 120 seconds.
  • Prices and PPP now contains UK and DE prices.
  • Fixing the date output for a part released during a single year (no more "from 2002 to 2002")

v1.5.2

29 Dec 11:05
Compare
Choose a tag to compare
  • Various improvements.
  • You can now add a 🔎,🔍 or 🖼️ reaction within 120 seconds to ask the bot to post a bigger picture of a set or a part.
  • Adding a direct link to the Brickset search page at the end of the !search results.
  • New parts are now distinguished from "in production" and "no more produced".
  • Fixing an issue where the instructions links were broken.

v1.5.1

29 Dec 11:05
Compare
Choose a tag to compare
  • Various bug fixes.
  • You can now delete a bot message by adding the 🗑️ (:wastebasket:) emoji as a react in the 60 seconds following the post.
  • Experimental pieces search feature. Set the query between double-quotes like !part "Mahiki Metru".

v1.5.0

29 Dec 11:05
Compare
Choose a tag to compare
  • Adding the instructions section to a set query. Thanks @"Commander Purple" on top.gg for the idea !
  • Adding the AGPL licence.
  • Updating nodejs to v16.x
  • Updating discord.js to 13.x
  • Adding a beta feature to search for sets using !search Piruk for example.
  • Adding the maximumSearchResults correspondig var to limit the bot output.

v1.4.4

29 Dec 11:04
Compare
Choose a tag to compare
  • Blacklist some queries ! !set 69 is a very fun search, but uses bandwidth and server resources.

v1.4.3

29 Dec 11:04
Compare
Choose a tag to compare
  • All REST requests are now using the async node-fetch way.
  • Improving the !part search by doing a second request if the first one did not find anything.
  • Adding badges to the README.md
  • Updating the log system to be csv-parsing compatible

v1.4.2

29 Dec 11:04
Compare
Choose a tag to compare
  • Adding a custom command to fetch the Brickset's random set of the day
    • Require an external php script (at the moment)

v1.4.1

29 Dec 11:03
Compare
Choose a tag to compare
  • LegBot is now able to fetch sets with hyphens ids (6862-1 or 6862-2 for example).
    • The old way is still working, but will fetch the "-1" set by default.
  • Updating the readme.md to say that LegBot is now on almost 300 servers !
  • Brickset is now listing LegBot in their apps section !
  • Updating the discord.js lib to 12.x