sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Validation error when importing builders from `discord.js` rather than `@discordjs/builders`
How can I partition custom id schemas using `@sapphire/string-store`
parse
method of interaction handlers to determine whether a given interaction should be handled by it, as such:
```ts
public override async parse(interaction: ButtonInteraction) {
const deserializedCustomId = MinesGameQuickPlayConfigurationMessage.customIdStore.deserialize(interaction.customId);...PaginatedMessage "This maze wasn't meant for you...what did you do." on a user app
A cleaner web experience for this forum

Ping command in the Guide does not work

TypeError: Cannot read properties of undefined (reading 'languages')
Reaction listener not working for additions, only removals
Did something change about what gets logged on bot initialization?
SapphireClient
's built-in logger with @sapphire/plugin-logger
.
I used to get logs like the ones in the first image, but now I'm getting only 2 lines logged, as shown in the second.
I should also mention that the logs from the first image are from a sharded application, while the second are not. Would that be the reason?...package.json
points to dist/sharding_manager/index.js
but my piece directories are under dist/shard
.
You can use the baseUserDirectory
option when instantiating the SapphireClient
to point to the correct directory. In my case it was set to dist/shard
....
Result/Option infer any type when map.
Err<E, T = any>
and in the map definition don't pass the OutputValue
to the Err
type. Is there a reason for that? If I made this change, I would get the correct type inference....
Scheduled Task retry failed job
ScheduledTaskHandler
. Is there any way to fix this?
Result
do...Delete Global Commands
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476369" to internal chat input map
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476371" to internal context menu map
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476372" to internal context menu map
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476369" to internal chat input map
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476371" to internal context menu map
2025-09-13 16:26:16 - DEBUG - ApplicationCommandRegistry[ping] Registering id "1416565441790476372" to internal context menu map
MessagePrompter does not collect response
Is sapphire compatible with "Running TypeScript Natively"
text command triggered by mentioning
clean/sanitise strings
Prisma with Sapphire
Is there an example of Tsdown for sapphire?
Best way to learn sapphire
registerApplicationCommands Naming Convention for ContextMenu Command
