sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Running Async Code in Precinditions
return this.ok(). Otherwise, return this.error()....Buttons Interactions
Getting Data from .env File
src/.env file . So, naturally, I thought to put my discord token there and access it in my src/index.ts file as follows.
```ts
const main = async () => {
try {
client.logger.info('Logging in');...export const rootDir = join(__dirname, '..', '..', '..');Testing and Sapphire/discord.js
please help
Hello ,I need some Help about listeners in sapphire framework

Typescript error in @ApplyOptions

Is there events listing like discord.js does?

making a !help command. where do i get the commands from?
this.store // Store<Command> extends Collection<Command> extends Map<Command>
this.store // Store<Command> extends Collection<Command> extends Map<Command>
this.error()
this.error() but not trigger messageCommandDenied? This is because on the messageCommandDenied event I made it so it deletes the message if there's no error message, but in some cases I don't want to delete the message and instead do nothingThrowing errors in commands/subcommands
chatInputCommandDenied listener, similar to how preconditions work. Some kind of this.error that can be sent and handled by the listener. Does this exist or can I write something to do that?Dynamic subcommand methods

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.separatorsLimit 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.clientList 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