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
9d435d9Thanks @l7aromeo! -createMockMessage()takes anid,content,components,embedsandflags, so a test can put controls on the message a button sits on, such as to check what@Deferlocks; components and embeds may be API JSON, builders or discord.js instances.
Patch Changes
#118
5c636aaThanks @l7aromeo! - Tools that read the installed version withrequire('meocord/package.json')no longer fail withERR_PACKAGE_PATH_NOT_EXPORTED.#121
c6990c2Thanks @l7aromeo! -inGuild(),inCachedGuild()andinRawGuild()on a mock answer from itsguildIdandguild, so a mock created without aguildIdis a DM and a guard that requires a guild returnsfalse, notundefined.