sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Getting the client to log a list of registered commands and if they are global
client.application.commands
, discordjs codePaginatedMessage autodelete
Message Components Disappearing?
@sapphire/discord.js-utilities
, but sometimes message components don't show up (although you can see "1/2" in the footer, and there are definitely supposed to be 2 pages). Example in the first image.
But then I found some matrix shit, because I took the second image as a screenshot (with message components) 5 hours ago. I check the message now, and the components disappeared, without leaving a (edited) label behind (see third image). ???...Modal Submit Preconditions
parse
methodBOT don't catch commands
TypeError Cannot read properties of undefined (reading 'CHANNEL_CREATE')
Does sapphire work only with DJS?
String Length error while trying to register a command
How to make translated message in interaction handler?
The argument did not resolve to emoji
Where can I find more info about the Sapphire framework
Encountered error on event listener CoreMessageParser f
Encountered error on event listener "CoreMessageParser" for event "preMessageParsed" at path "F:\JuyeonJS_chatMod\node_modules\@sapphire\framework\dist\listeners\command-handler\CoreMessageParser.js" Type
Error: me.isCommunicationDisabled is not a function
at CoreListener.canRunInChannel (F:\JuyeonJS_chatMod\node_modules\@sapphire\framework\dist\listeners\command-handler\CoreMessageParser.js:49:16)
Encountered error on event listener "CoreMessageParser" for event "preMessageParsed" at path "F:\JuyeonJS_chatMod\node_modules\@sapphire\framework\dist\listeners\command-handler\CoreMessageParser.js" Type
Error: me.isCommunicationDisabled is not a function
at CoreListener.canRunInChannel (F:\JuyeonJS_chatMod\node_modules\@sapphire\framework\dist\listeners\command-handler\CoreMessageParser.js:49:16)
Command Error
console.log({ error, context })
inside the run
method but it doesn't log.
:check: My pieces directory is in the right place
:check: The listener is not configured to run only once...Use commands from src and also from custom package in node_modules (Programatically add commands?)
Error [UNLOADED_PIECE] The piece 'CoreReady' does not exist.
Commands not working
Can't register application command.
Custom Arg - ResultError Unwrap failed
err.value
is no longer needed.How do I apply preconditions to a specific subcommand
OwnerOnly
precondition to certain sub commands instead of all of them. Is there a way to do this?