Skip to content
GitHub

4.1.2 changelog

Published

Entries marked Breaking change a working bot; the migration guide says what to do about them. Every release of the line is in the changelog.

Patch Changes

  • #454 1f71fe1 Thanks @l7aromeo! - A mock interaction's type guards, such as isButton() and isRepliable(), and its inGuild(), inCachedGuild() and inRawGuild() keep answering as discord.js does after resetAllMocks(). They returned undefined after a reset, so a mock made once for several tests, such as in beforeAll, failed every type check after the first test in a project that resets between tests, as a generated one does.