Skip to content
Version: v1.2
On this page

Breaking Changes

The v1.2 documentation is kept for projects that are still on v1.2. New projects should use v1.4.

These are the differences you meet when upgrading to v1.3 or later. For the full list, see the changelog.

v1.2 logs { XP } Database Connected unless notify is false. From v1.3, it only logs when notify is true.

v1.2 returns a discord.js MessageAttachment. From v1.3, both return a plain { attachment, name } object, which you can pass to files: [...] the same way.

From v1.3, position is honoured. In v1.2 the chart always shows the top 5.

From v1.3.4, roleSetup.find() returns every role set for the level, as an array, instead of only the first one.

From v1.3, canvas and chart.js-image are replaced by @napi-rs/canvas and chart.js, so there is nothing to compile with node-gyp.