sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Hide the page selector with paginated messages?
Subcommand issues
Trouble with telling typescript the return type of fetch when using @sapphire/result
fetch
function. The fetch
is wrapped in Result.fromAsync()
, and I wanted to do Result.fromAsync<Promise<APIResponse>>
since I know what the API will return. The problem is, when doing Result.fromAsync<Promise<APIResponse>>
Typescript says that Response
is missing certain properties that I know the API will return.
How would I tell Typescript I know that the fetch will return this?...i18n question
applyLocalizedBuilder(builder, 'commands/names', 'commands/descriptions:name')
applyLocalizedBuilder(builder, 'commands/names', 'commands/descriptions:name')
applyLocalizedBuilder(builder, 'commands:ping')
...How to check if a number (the permission integer) has the manage server permission?
messageCreate not working with DMs
messageCreate
event to run with DMs. When I send a server message it all works well, but in DMs it simply refuses to work.
listeners/messageCreate.ts
:
```ts
import { ApplyOptions } from '@sapphire/decorators';...Setting Nicknames
Sapphire not initializing correctly inside of Docker
'Can't find the template.' on a template listed in the docs
sapphire generate buttoninteractionhandler customRole
I get the error Can't find the template.
, however, https://www.sapphirejs.dev/docs/Guide/CLI/generating-components lists buttoninteractionhandler
as a component.@sapphire/cli
making sure sapphire --version
returns 1.6.1
.Issue when running mutiple bot instances on the same redis db with the scheduler plugin

Question - handling interactions
Plugin subcommands: "No subcommand was matched with the provided command."
chatInputRun: (chatInputRun: Subcommand.ChatInputCommandInteraction) => this.chatInputSet(chatInputRun)
chatInputRun: (chatInputRun: Subcommand.ChatInputCommandInteraction) => this.chatInputSet(chatInputRun)

Application Data is null
Language support
I need help to unistall sapphire because i just downloaded in vscode with knowledge abt it
Error listeners

Question - Dependancy injection
container
. In classes such as commands this.container
or import { container } from '@sapphire/framework
anywhere else.Question about container in shards
Question: Sharding support
Combine Precondition and object available on the Command