All notable changes to this project will be documented in this file.
@sapphire/discord.js-utilities@7.2.1 - (2024-05-06)
- PaginatedMessage: Fix support for discordjs 14.5.2 (07a0cfa)
@sapphire/discord.js-utilities@7.2.0 - (2024-04-13)
- discord.js-utilities: Add components to MessageBuilder (#734) (f463545)
@sapphire/discord.js-utilities@7.1.6 - (2024-01-19)
- Fixed commonjs typings export mapping (#707) (216ff02)
@sapphire/discord.js-utilities@7.1.5 - (2023-12-27)
- PaginatedMessage: Always put link buttons below select menus (#699) (86b58d0)
- PaginatedMessage: Fixed link buttons not properly being added (#698) (aa3e3eb)
- createPartitionedMessageRow: Fix documentation for docusaurus rendering (0c8d013)
- createPartitionedMessageRow: Fix documentation for docusaurus rendering (ab04d55)
@sapphire/discord.js-utilities@7.1.4 - (2023-12-15)
- PaginatedMessage: Make it possible to disable adding page numbers to the footer through
setShouldAddFooterToEmbeds
(dc18281) - paginatedmessage: Check for pageActions before throwing an error (#684) (740b317)
- PaginatedMessage: Add AI generated tsdoc to remaining items (4ca1c55)
- PaginatedMessage: Add AI generated doc comments on all undocumented fields (fdba2bb)
- Run prettier on the codebase (1d6e994)
@sapphire/discord.js-utilities@7.1.3 - (2023-12-04)
- discord.js-utilities: Properly split CJS and ESM (3f9bd6a)
@sapphire/discord.js-utilities@7.1.2 - (2023-11-16)
- paginatedmessage: Fixed interacting with multiple users on multiple ephemeral interactions (#666) (0c4ba3c)
- typeguards: Improve the docs for isAnyInteraction and isAnyInteractableInteraction (#667) (f4ec262)
@sapphire/discord.js-utilities@7.1.0 - (2023-11-15)
- PaginatedMessage: Improve
@discordjs/builders
support (#659) (0cbf663)
@sapphire/discord.js-utilities@7.0.3 - (2023-11-14)
- discord.js-utilities: Fixed
isNsfwChannel
typeguard by includingChannelType.GuildMedia
(#665) (7c6cfe2)
- discord.js-utilities: Update discord.js.org links (#662) (9c92477)
@sapphire/discord.js-utilities@7.0.2 - (2023-08-29)
- discord.js-utilities: Output proper dist files (75fded2)
- discord.js-utilities: Revised type-guards for thread channels (#639) (62f14dc)
@sapphire/discord.js-utilities@7.0.1 - (2023-07-21)
- tsconfig: Set
noEmitHelpers
to false (#620) (8ed04bf)
- Update vitest to coverage v8 (a4bc6e4)
@sapphire/discord.js-utilities@7.0.0 - (2023-05-28)
- PaginatedMessage: Cleaned up some internal type casting. (870252d)
- PaginatedMessage: The callback union is removed from
messages
property. pages are always processed withresolvePage
meaning they can never be a callback. (4407907) - PaginatedMessage:
PaginatedMessageMessageOptionsUnion
now omitscomponents
as it was not handled anyway. (d60b8e2) - PaginatedMessage: Allow PaginatedMessage actions
run
to be optional and instead get handled by Sapphire interaction-handlers (d87eede)- 💥 BREAKING CHANGE:
updateCurrentPage
components are now resolved from theactions
property instead of thecomponents
property. This makes it consistent with all the other page manipulation methods - 💥 BREAKING CHANGE: Removed
getComponents
since it is effectively useless due to the above change.
- 💥 BREAKING CHANGE:
- PaginatedMessage: Added utility functions for type-guarding action variants. (5c0ae46)
@sapphire/discord.js-utilities@6.1.0 - (2023-05-05)
- PaginatedMessage: Add support for all select menus (#589) (4858486)
- PaginatedMessage: Add support for per-page actions (#587) (b917236)
- PaginatedMessage: Add method to update pages after response (#584) (db13068)
@sapphire/discord.js-utilities@6.0.7 - (2023-05-02)
- PaginatedMessage: Only add options and placeholder to the built-in StringSelectMenu (#575) (49d588b)
- paginatedmessage: Fix checks for
actionIsButtonOrMenu
(3f5d500)
- paginatedmessage: Fix examples (c080740)
@sapphire/discord.js-utilities@6.0.6 - (2023-04-17)
- discord.js-utilities: Add tslib dependency to fix __exportStar not being defined (2f6e4e6)
@sapphire/discord.js-utilities@6.0.5 - (2023-04-10)
- discord.js-utilities: Add missing type modifiers (b372e79)
- deps: Update all non-major dependencies (#577) (291dd67)
@sapphire/discord.js-utilities@6.0.4 - (2023-03-14)
- discord.js-utilities: Fixed deprecated code (#565) (e6c8000)
@sapphire/discord.js-utilities@6.0.3 - (2023-03-09)
- discord.js-utilities: Fixed
isAnyInteraction
types (#559) (334c16c)
@sapphire/discord.js-utilities@6.0.2 - (2023-02-18)
- discord.js-utilities: Type fix for discord-api-types 0.37.35 (73d073a)
- discord.js-utilities: Type fix for discord-api-types 0.37.35 (153dad4)
- deps: Update all non-major dependencies (#545) (40ca040)
- discord.js-utilities: Fixed deprecated code (b5d55e9)
@sapphire/discord.js-utilities@6.0.1 - (2023-01-13)
- discord.js-utilities: Fixed deprecated code (b5d55e9)
@sapphire/discord.js-utilities@6.0.0 - (2023-01-08)
- Add @06000208 as a contributor (fa3349e)
- deps: Support for djs v14 (#434) (2e2c3e9)
@sapphire/discord.js-utilities@5.1.2 - (2022-11-19)
- discord.js-utilities: Added null checks for permission checks (#523) (1abc270)
- deps: Update all non-major dependencies (#514) (21b07d5)
- deps: Update all non-major dependencies (#505) (6178296)
- Add @didinele as a contributor (42ef7b6)
- Add @goestav as a contributor (0e56a92)
- Add @CitTheDev as a contributor (34169ea)
- Add @legendhimslef as a contributor (059b6f1)
@sapphire/discord.js-utilities@5.1.1 - (2022-10-09)
- discord.js-utilities: Fixed stop button crashing bots (d5a9fc6)
@sapphire/discord.js-utilities@5.1.0 - (2022-10-08)
- utilities: Race condition issue for closed paginated message (#484) (8c9c9b7)
- deps: Update all non-major dependencies (#466) (dc08606)
- Add @r-priyam as a contributor (fb278ba)
- utilities: Add possibility to import single functions by appending them to the import path. (#454) (374c145)
@sapphire/discord.js-utilities@5.0.1 - (2022-09-18)
- Split
@sapphire/time-utilities
into 4 sub-packages (#462) (574299a)
- deps: Update all non-major dependencies (e20f299)
@sapphire/discord.js-utilities@5.0.0 - (2022-08-14)
- djs-utilities: Remove deprecated code (#426) (e6d20aa)
- 💥 BREAKING CHANGE: removed deprecated
author
field onPaginatedMessage
- 💥 BREAKING CHANGE: removed deprecated function
runsOnInteraction
- 💥 BREAKING CHANGE: removed deprecated
- deps: Update all non-major dependencies (2308bd7)
@sapphire/discord.js-utilities@4.12.0 - (2022-08-13)
- deps: Update all non-major dependencies (84af0db)
- Add @muchnameless as a contributor (a1221fe)
- Add @enxg as a contributor (d2382f0)
- Add @EvolutionX-10 as a contributor (efc3a32)
- discord.js-utilities: Rename
runsOnInteraction
toisAnyInteraction
and add deprecation notice for the former (b2486c2) - discord.js-utilities: Add
ChatInputOrContextMenuInteraction
,NonModalInteraction
, andAnyInteraction
utility types (703259a)
- Migrate to vitest (#380) (075ec73)
@sapphire/discord.js-utilities@4.11.3 - (2022-06-13)
- deps: Update all non-major dependencies (#378) (9a20de6)
@sapphire/discord.js-utilities@4.11.1 - (2022-06-02)
- paginated-message: Fixed an issue cancelling a paginated message after an ephemeral reply (#372) (5d545a5)
- discord.js-utilities: Add
APIInteractionDataResolvedGuildMember
type toisGuildMember
function (#363) (522c305)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.12.0 - (2022-08-13)
- deps: Update all non-major dependencies (84af0db)
- Add @muchnameless as a contributor (a1221fe)
- Add @enxg as a contributor (d2382f0)
- Add @EvolutionX-10 as a contributor (efc3a32)
- discord.js-utilities: Rename
runsOnInteraction
toisAnyInteraction
and add deprecation notice for the former (b2486c2) - discord.js-utilities: Add
ChatInputOrContextMenuInteraction
,NonModalInteraction
, andAnyInteraction
utility types (703259a)
- Migrate to vitest (#380) (075ec73)
@sapphire/discord.js-utilities@4.11.3 - (2022-06-13)
- deps: Update all non-major dependencies (#378) (9a20de6)
@sapphire/discord.js-utilities@4.11.1 - (2022-06-02)
- paginated-message: Fixed an issue cancelling a paginated message after an ephemeral reply (#372) (5d545a5)
- discord.js-utilities: Add
APIInteractionDataResolvedGuildMember
type toisGuildMember
function (#363) (522c305)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.11.3 - (2022-06-13)
- deps: Update all non-major dependencies (#378) (9a20de6)
@sapphire/discord.js-utilities@4.11.1 - (2022-06-02)
- paginated-message: Fixed an issue cancelling a paginated message after an ephemeral reply (#372) (5d545a5)
- discord.js-utilities: Add
APIInteractionDataResolvedGuildMember
type toisGuildMember
function (#363) (522c305)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.11.1 - (2022-06-02)
- paginated-message: Fixed an issue cancelling a paginated message after an ephemeral reply (#372) (5d545a5)
- discord.js-utilities: Add
APIInteractionDataResolvedGuildMember
type toisGuildMember
function (#363) (522c305)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.11.1 - (2022-06-02)
- paginated-message: Fixed an issue cancelling a paginated message after an ephemeral reply (#372) (5d545a5)
- discord.js-utilities: Add
APIInteractionDataResolvedGuildMember
type toisGuildMember
function (#363) (522c305)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.11.0 - (2022-05-15)
- PaginatedMessage: Broaden option types (#350) (a747050)
- discord.js-utilities: Update to DJS v13.7 (76e4efd)
- discord.js-utilities: IsGuildMember type guard (#349) (c3a77c0)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.10.0 - (2022-05-01)
- PaginatedMessage: Supports placeholder setting for default SelectMenu (#342) (101ea97)
@sapphire/discord.js-utilities@4.9.7 - (2022-04-24)
- PaginatedMessage: Make
resolvePaginatedMessageInternationalizationContext
protected (0bb7c55)
@sapphire/discord.js-utilities@4.9.6 - (2022-04-24)
- PaginatedMessage: Update i18nContext to match plugin-i18next (#337) (bcc053c)
- discord.js-utilities: Fix typo (#332) (0c4b486)
@sapphire/discord.js-utilities@4.9.5 - (2022-04-21)
- PaginatedMessages: Missing logic cases (#331) (e2c4d87)
- Add @NotKaskus as a contributor (00da8f1)
- Add @imranbarbhuiya as a contributor (fb674c2)
- Add @axisiscool as a contributor (ce1aa31)
- Add @dhruv-kaushikk as a contributor (ebbf43f)
- Add @Commandtechno as a contributor (f1d69fa)
- Fix typedoc causing OOM crashes (63ba41c)
- Add deprecation notice to
isStoreChannel()
(#323) (2f790dc)
4.9.4 (2022-04-01)
4.9.3 (2022-03-20)
Note: Version bump only for package @sapphire/discord.js-utilities
4.9.2 (2022-03-20)
Note: Version bump only for package @sapphire/discord.js-utilities
4.9.1 (2022-03-11)
Note: Version bump only for package @sapphire/discord.js-utilities
4.9.0 (2022-03-06)
4.8.2 (2022-03-01)
Note: Version bump only for package @sapphire/discord.js-utilities
4.8.1 (2022-02-18)
4.8.0 (2022-02-15)
- PaginatedMessage: emit warning when running in a DM channel without required client options (#291) (668c540)
4.7.0 (2022-02-11)
4.6.2 (2022-02-07)
- PaginatedMessage: fixes for modifying the components when the bot doesn't have VIEW_CHANNEL (#289) (c808a0a)
4.6.1 (2022-02-06)
4.6.0 (2022-02-03)
- discord.js-utilities: fixed
PaginatedMessage
not filtering to the correct response and user (7a15a2f) - fixed issues with
PaginatedMessage
(#283) (9656d2a) - PaginatedMessage: adjust default
wrongUserInteractionReply
to account for theSelectMenu
(0888509) - PaginatedMessage: update error message thrown when no actions are found in
run
(#277) (deb9bd3)
- add
canJoinVoiceChannel
,isVoiceBasedChannel
(#284) (69b9eae) - discord.js-utilities: add
isMessageInstance
typeguard forAPIMessage
vsMessage
(c3787f3) - ts-config: add multi-config structure (#281) (b5191d7)
4.5.0 (2022-01-28)
4.4.0 (2022-01-21)
4.3.1 (2022-01-21)
- discord.js-utilities: fixed the export of
PaginatedMessageEmbedFields
(ba1edd9)
4.3.0 (2022-01-16)
- PaginatedMessage: made it possible to add custom
link
buttons withsetActions
/addActions
/addAction
(#259) (e8d7048)
4.2.0 (2022-01-12)
4.1.6 (2022-01-10)
Note: Version bump only for package @sapphire/discord.js-utilities
4.1.5 (2021-12-08)
Note: Version bump only for package @sapphire/discord.js-utilities
4.1.4 (2021-11-29)
Note: Version bump only for package @sapphire/discord.js-utilities
4.1.3 (2021-11-19)
4.1.2 (2021-11-15)
Note: Version bump only for package @sapphire/discord.js-utilities
4.1.1 (2021-11-06)
Note: Version bump only for package @sapphire/discord.js-utilities
4.1.0 (2021-10-31)
- PaginatedMessage: allow internationalizationContext to be async (e1251fc)
- PaginatedMesssage: change private to protected properties (495aef8)
- PaginatedMessage: add internationalization context to
selectMenuOptions
andwrongUserInteractionReply
(190a8fe)
4.0.2 (2021-10-29)
- PaginatedMessage: fixed multiple page embeds not working (52f2cbb)
4.0.1 (2021-10-28)
- discord.js-utilities: build with tsc instead of rollup (59a3d03)
- PaginatedMessage: ensure async function pages are resolved properly (500b67b)
- PaginatedMessage: ensure components aren't added when there's 1 page or less (9973b8e)
- PaginatedMessage: fixed template not applying (1d9c7cc)
- PaginatedMessage: properly resolve and apply template (5d784bf)
4.0.0 (2021-10-26)
- PaginatedMessage:
PaginatedMessage
no longer uses emoji reactions. This means the bot no longer needsMANAGE_MESSAGES
to change pages. You can now fully usePaginatedMessage
in DMs! - PaginatedMessage: It is no longer possible to add more than 25 pages to a PaginatedMessage without modifying the action as we now use a SelectMenu for custom page picking as opposed to prompt and chat input, and Discord limits the amount of options in a SelectMenu to 25. Upon hitting 25 pages any others won't be added, and a warning will be emitted to inform you of this issue.
- PaginatedMessage: A bunch of TypeScript types for
PaginatedMessage
changed in name, if you were previously explicitly setting any types you will have to update those. All types forPaginatedMessage
now follow the naming pattern ofPaginatedMessage...
. - PaginatedMessage:
PaginatedMessage.promptMessage
has been removed as the prompt message has been replaced with a SelectMenu. You can customize the entries for the SelectMenu withPaginatedMessage.setSelectMenuOptions
. - PaginatedMessage: When adding pages to a
PaginatedMessage
through thepages
constructor option, that now takes an object ofMessageOptions | WebhookEditMessageOptions
. - PaginatedMessage: The structure for custom actions through
PaginatedMessage#defaultActions
or in the constructor of a newPaginatedMessage
has changed to incorporateMessageButton
s. Please check the updated documentation to see how to update your actions. - PaginatedMessage:
PaginatedMessage
optionpaginatedMessageData
now takes an object of typeMessageOptions | WebhookEditMessageOptions
. - PaginatedMessage: Whenever someone clicks a button of a PaginatedMessage that's not for them they will be send an ephemeral message to inform them of this. You can disable this by overwriting
PaginatedMessage#handleCollect
. Furthermore, if you just want a different message, you can set it with the static propertyPaginatedMessage.wrongUserMessage
.
3.2.2 (2021-10-17)
- allow more node & npm versions in engines field (5977d2a)
3.2.1 (2021-10-11)
Note: Version bump only for package @sapphire/discord.js-utilities
3.2.0 (2021-10-10)
- update to DJS v13 (4085534)
3.1.0 (2021-10-08)
3.0.2 (2021-10-08)
Note: Version bump only for package @sapphire/discord.js-utilities
3.0.1 (2021-10-04)
Note: Version bump only for package @sapphire/discord.js-utilities
3.0.0 (2021-10-04)
- discord.js-utilities: account thread channels in permission checks (#165) (d4982ed)
- discord.js-utilities: allow more channel types for MessagePrompter (cf7c8ed)
- discord.js-utilities: allow more types in
can*
methods (15fcf51) - discord.js-utilities: fixed examples for MessagePrompter (660f4be)
- discord.js-utilities: import type from dapi types v9 (9b57a29)
- discord.js-utilities: mismatch between types (#161) (823c6b1)
- discord.js-utilities: remove
MessagePrompterStrategies
in favour ofkeyof StrategyReturns
(#159) (c185369) - djs-utilities: fixed parameter types for type guards (#152) (6e8314f)
- PaginatedMessage: fixed
embedFooterSeperator
->embedFooterSeparator
(#191) (cf2c08f) - PaginatedMessage: fixed formatting for embed footers (a4e5a56)
- utilities: rename
Awaited<T>
toAwaitable<T>
(#193) (6ff3e28)
- backported more utilities and fixed bugs (5cb1862)
- decorators: add
RequiresUserPermissions
(688e39f) - discord.js-utilities: add
isTextBasedChannel
channel type guard (ec70645) - discord.js-utilities: add
pageIndexPrefix
static property (#143) (3c95c6f) - discord.js-utilities: add
PaginatedFieldMessageEmbed
(#144) (2c2df24) - discord.js-utilities: add many more utilities (#147) (ba5c590)
- discord.js-utilities: add more thread-related type guards (#155) (e5418d0)
- discord.js-utilities: add more typeguards + update checks (#162) (b89de42)
- discord.js-utilities: option to make Prompters edit a message (#160) (31af761)
- discord.js-utilities: set minimum NodeJS to v16.6.0 (2abc6c1)
- discord.js-utilities: update for Discord.JS v13 (#135) (f5a8f64)
- PaginatedMessage: made separator text of embed field customizable (#188) (82f4dab)
- utilities:
Awaited
has been renamed toAwaitable
- PaginatedMessage:
embedFooterSeperator
->embedFooterSeparator
- discord.js-utilities:
MessagePrompterStrategies
does no exist as it was not mutable with type augmentation - discord.js-utilities: If you had custom strategies then be sure to instead module augment
StrategyReturns
with your added keys. - Increased strictness of
isCategoryChannel
- Increased strictness of
isStageChannel
- Increased strictness of
isStoreChannel
- Increased strictness of
isThreadChannel
- Increased strictness of
isVoiceChannel
- Lowered strictness of
isDMChannel
- Lowered strictness of
isGuildBasedChannel
- Lowered strictness of
isGuildBasedChannelByGuildKey
- Lowered strictness of
isNewsChannel
- Lowered strictness of
isTextChannel
- decorators:
RequiresPermissions
has been renamed toRequiresClientPermissions
- decorators: enum entry
DecoratorIdentifiers.RequiresPermissionsGuildOnly
has been changed toDecoratorIdentifiers.RequiresClientPermissionsGuildOnly
- decorators: enum entry
DecoratorIdentifiers.RequiresPermissionsMissingPermissions
has been changed toDecoratorIdentifiers.RequiresClientPermissionsMissingPermissions
- decorators: i18n identifier
requiresPermissionsGuildOnly
has been changed torequiresClientPermissionsGuildOnly
- decorators: i18n identifier
requiresPermissionsMissingPermissions
has been changed torequiresClientPermissionsMissingPermissions
- discord.js-utilities: As this release bumps the minimum Discord.JS version from v12.x to v13.x we also advice looking at The DiscordJS v12 to v13 migration guide
- discord.js-utilities:
Awaited
utility type is no longer exported from constants. Use@sapphire/utilities
. - discord.js-utilities:
Constructor
utility type is no longer exported from constants. Use@sapphire/utilities
. - discord.js-utilities:
MessageBuilder.allowedMentions
's type has been changed toMessageOptions['allowedMentions']
- discord.js-utilities:
MessageBuilder.code
has been removed as this is no longer in theMessageOptions
of Discord.JS - discord.js-utilities:
MessageBuilder.content
's type has been changed toMessageOptions['content']
- discord.js-utilities:
MessageBuilder.embed
has been changed toMessageBuilder.embeds
- discord.js-utilities:
MessageBuilder.embeds
's type has been changed toMessageOptions['embeds']
- discord.js-utilities:
MessageBuilder.files
's type has been changed toMessageOptions['files']
- discord.js-utilities:
MessageBuilder.nonce
's type has been changed toMessageOptions['nonce']
- discord.js-utilities:
MessageBuilder.setEmbed()
has been changed toMessageBuilder.setEmbeds()
- discord.js-utilities:
MessageBuilder.split
has been removed as this is no longer in theMessageOptions
of Discord.JS - discord.js-utilities:
MessageBuilder.tts
's type has been changed toMessageOptions['tts']
- discord.js-utilities:
MessagePrompterMessage
has been changed fromAPIMessageContentResolvable | (MessageOptions & { split?: false }) | MessageAdditions
toArgumentTypes<PartialTextBasedChannelFields['send']>[0]
, which is the same type as the single argument for the commonmessage.channel.send()
method. - discord.js-utilities: When providing more than 1 embed template to
PaginatedMessages.options.template
as well as more than 1 embed on a givenMessagePage
an attempt will be made to apply to footer of the template at the respective index, otherwise it will fallback to the footer of the first embed in the template, and if that fails it will be an empty string.
2.0.2 (2021-07-20)
Note: Version bump only for package @sapphire/discord.js-utilities
2.0.1 (2021-07-18)
2.0.0 (2021-07-17)
- discord.js-utilities:
PaginatedMessageOptions.run
now takes a single parameter ofMessage
instead of 2 parameters (User
andTextChannel | NewsChannel
) - discord.js-utilities: Reactions will no longer be added if your
PaginatedMessage
only has 1 page - discord.js-utilities: TypeScript types for various methods that previously had
TextChannel | NewsChannel
have been changed toMessage['channel']
- discord.js-utilities: 1 user can no longer have more than 1
PaginatedMessage
running. The older one will automatically be cancelled. You can override this by overriding therun
method.
1.6.0 (2021-06-27)
- discord.js-utilities: fixed
PaginatedMessage#handleEnd
(0c05a6b)
- djs-utilities: verify channel type before removing reaction & allow page prompt customization (e4f49b3), closes #128
1.5.10 (2021-06-19)
- doc: change
[@link](https://github.com/link)
to[@linkplain](https://github.com/linkplain)
for support in VSCode IntelliSense (703d460) - docs: update-tsdoc-for-vscode-may-2021 (#126) (f8581bf)
1.5.9 (2021-06-06)
1.5.8 (2021-05-20)
- discord.js-utilities: mark package as side effect free (9fdf1d0)
1.5.7 (2021-05-02)
- drop the
www.
from the SapphireJS URL (494d89f) - update all the SapphireJS URLs from
.com
to.dev
(f59b46d)
1.5.6 (2021-04-21)
Note: Version bump only for package @sapphire/discord.js-utilities
1.5.5 (2021-04-19)
- change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨🌾🚜 (#102) (835b408)
1.5.4 (2021-04-03)
1.5.3 (2021-04-03)
1.5.2 (2021-03-16)
1.5.1 (2021-03-02)
- discord.js-utilities: fixed IMessagePrompterStrategyOptions not being optional (1876355)
1.5.0 (2021-02-22)
1.4.4 (2021-02-18)
Note: Version bump only for package @sapphire/discord.js-utilities
1.4.3 (2021-02-16)
Note: Version bump only for package @sapphire/discord.js-utilities
1.4.2 (2021-02-13)
1.4.1 (2021-02-13)
Note: Version bump only for package @sapphire/discord.js-utilities
1.4.0 (2021-02-02)
1.3.1 (2021-01-21)
1.3.0 (2021-01-20)
1.2.0 (2021-01-16)
1.1.0 (2021-01-13)
1.0.1 (2021-01-08)
- discord.js-utilities: fix readme stuff more (242fdb8)
- discord.js-utilities: typo in readme (c7cff05)
- typo in PaginatedMessage (#53) (d4fb9fa)
- discord-utilities: add breaking change note to README (cd0b999)
- add discord.js-utilities pkg (#52) (b61b05c)
- discord-utilities: discord-utilities no longer has type-guard functions as they are now moved to the discord.js-utilities package. Install @sapphire/discord.js-utilities along with @sapphire/discord-utilities to have the full utilities experience.