sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Required Client Permission mismatch with role
Can't see blue color in terminal
console.whatever
is in your own code: https://github.com/mallusrgreatv2/disactyl/blob/52e62d2f5d864bad409d63954cbb69a195999994/src/lib/logger/Logger.ts#L88. You'll have to fix this on your own since it's so very specific to your own desires for the logger.
As for the location of the file, that's fine. It's pretty much free style, only it's recommended to not put it in root because that trips up GitHub's license detection....
Plugin API
Command option - Array of users
Failed to overwrite global application commands: Command name is invalid
[email protected] start node dist/index.js...

use wildcard paths on InteractionHandlerStore#registerPath
this.stores.get('listeners').registerPath(join(this.rootData.root, './handlers/events')).registerPath(join(this.rootData.root, "./integrations/**/*"));
this.stores.get('listeners').registerPath(join(this.rootData.root, './handlers/events')).registerPath(join(this.rootData.root, "./integrations/**/*"));
Interaction Handlers & "Button is not for you" response
awaitComponents
where you can user filter instead of sappire handlers. An example of this can be seen in PaginatedMessage i.e.e from @DragoniteVoiceStateUpdate
Problems with plugin api
this.container.client.server.server.listening
, which returned true and I also listed routes through the container.
The problem i'm having is whenever I attempt to send a curl request or a web request to the url I get a connection refused error....Timestamp problem
Is there a better way to handle both message and slash commands?
messageRun
method to handle message commands and override chatInputRun
for slash commands.
This leads to unnecessary code duplication, since logic would be mostly the same.
discord.py
or serenity
expose something like hybrid commands , so you can write a single handler for any interaction, is there an equivalent for Sapphire?...I have use @/ as Root
#
instead of @
in the process, or use something like the module-alias package.
Is there a way to make an Event (registerApplicationCommands) 'wait' before triggering?
unregisterer.js
I'm calling it in another handler named bootstrap.js
bootstrap.js
is then imported into index.js
then called as such await handlers()
on ready
event
I use a custom structure named SlashCommand
imported in every command file (to replace Command
of @sapphire/framework
): this only serves to prevent spamming registerApplicationCommands
in every single command file...SubcommandErrorEvent how to?
Button Interaction Pass Data
How to organize commands?
Help me to setup this sapphire typescript