Skip to content
GitHub

4.1.0-beta.1 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.

Minor Changes

  • #120 9d435d9 Thanks @l7aromeo! - createMockMessage() takes an id, content, components, embeds and flags, so a test can put controls on the message a button sits on, such as to check what @Defer locks; components and embeds may be API JSON, builders or discord.js instances.

Patch Changes

  • #118 5c636aa Thanks @l7aromeo! - Tools that read the installed version with require('meocord/package.json') no longer fail with ERR_PACKAGE_PATH_NOT_EXPORTED.

  • #121 c6990c2 Thanks @l7aromeo! - inGuild(), inCachedGuild() and inRawGuild() on a mock answer from its guildId and guild, so a mock created without a guildId is a DM and a guard that requires a guild returns false, not undefined.