sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
new to sapphirejs and discord bot overhaul
Dump and load cached messages.
How do interaction handlers pair up with commands
Implement paginator , selection
Any way to register a database client to the application command
Using Paths w/ TypeScript
Cannot find package '@modules/mongodb' imported from C:\ExampleDirectory
I've tried using node -r tsconfig-paths/register ., but that doesn't work and it still shows the same error above.
...Select Menu Listener Fails To Register
Argument examples
Message commands not working
loadMessageCommandListeners to true, silly meIssue with @sapphire/plugin-api
node16. They are the modern options for module stuff. Alternatively you can install and extend @sapphire/ts-config which will cover most of the config.
- All of those subselections of esnext like esnext.array are implied by esnext so you're duplicating there
- exclude isn't necessary like that. Exclude is to exclude something that was previously included, unless you have a node_modules directory inside src it does nothing
- You can change include to just src, tsc will automatically resolve the whole directory glob....Precondition Command
Is documentation page outdated?
this website is written for the 3.x version of @sapphire/framework
The last published version is 5.0.7...Precondition i18n
Got this error when executing command /kick

How to add string options
Error when using @sapphire/type
Error: Cannot find module '/workspaces/shim/node_modules/@sapphire/type/prebuild/type-node-v115-linux-x64-glibc-2.31/type.node'
Error: Cannot find module '/workspaces/shim/node_modules/@sapphire/type/prebuild/type-node-v115-linux-x64-glibc-2.31/type.node'
Commands + Listeners not registering
Delete Message Instantly
deleteMessageImmediately function in the file above actually delete the message instantly? Faster than doing <Message>.delete()?...message.delete but doesnt throw an error on error codes.Listener run() signature
run method of any given listener - they're different for each event.
I'm sure there's an obvious way to get this, without trial and error and debugging to see what's available to it - where am I not looking?
```ts
import { Events, Listener, ListenerOptions } from "@sapphire/framework";...extends Listener<typeof Events.GuildCreate> but that won't implicitly type the run parameters, it'll just error if you provide the wrong types. Sadly TS offers nothing better.PaginatedMessageEmbedFields empty array
.make() to a different variable and then you call the original object's run. Change the last line to pages.run(interaction) or dont assign it to a different variable.