sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Sapphire preconditions args error
Custom prefix
Handling argument autocomplete per command
interactionCreate
event?API error event handler
Encountered error while handling an interaction handler run method for interaction-handler
Encountered error while handling an interaction handler run method for interaction-handler
chatInputCommandError
, commandAutocompleteInteractionError
and contextMenuCommandError
etc?...Localizations for slash commands working partially
i18next plugin without namespaces
UnknownMessageCommandName event is not working
Events.UnknownMessageCommand
. You'll need to add Events
to your @sapphire/framework importcan i edit the frame work to apply custom commands or not.
Embed Paginator
Getting ChannelType from APIInteractionDataResovledChannel
.getChannel()
to retrieve it. The return type has APIInteractionDataResolvedChannel
which can't be used with methods such as isTextBasedChannel()
is there something I am doing wrong? I've checked the documetnation and APIInteractionDataResolvedChannel
is not in the ChanelTypes
typedef.idk what to title this.. trouble shooting? im new to all of this haha
interactionHandler parse showing TS '...cannot be named without reference to...' error
Read property from custom Command Options
shortDesc
.
I want to read a property from the options, inside the registerApplicationCommands
method, so that I can not have to provide this value (Get a random trivia question
) twice.
...command.options
, likewise if you use this.options.shortDesc
it'll also be there.
Secondly, categories are built into sapphire so whatever you're setting in the constructor there is pretty pointless. That dates back to a very old by now version of Sapphire where categories weren't integrated
Thirdly, Sapphire Command class has a detailedDescription
option which can be an object of whatever you want and is set automatically so you do not even need custom properties for this at all. Just use module augmentation to modify the interface for detailedDescription
then use ...TypeError Class constructor _SapphireClient cannot be invoked without 'new'
target
wasn't set so it defaults to ES3 which is ancient JS that isn't supported and doesn't supported classesIs there a recommended way to split subcommands across multiple files?
Does sapphire support all the up to date Discord Auto moderation stuff?
How do subcommands work with idHints and guildIds?