sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
How do i use "separators" command in sapphire?
separators
options at Command
my question is, how do i use the separators
command option and how to get the key from it?=
or :
. If you want to know the current value (which will be ['=', ':']
by default) you can use this.options.separators
Limit command to specified roles?
How to reference client in main file?
<Client>.users
from the index.ts but I am unsure as to how I would get around to doing that..this.container.client
or import the container from the framework and then container.client
List registered commands and listeners
this.store // Store<Command> extends Collection<Command> extends Map<Command>
this.store // Store<Command> extends Collection<Command> extends Map<Command>
Cannot find module
sudo apt install build-essential
should be the command you need...
Module augmentation does not work

Conflicting types

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