sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Peristing cooldowns across restarts
Conflicting data types with isMessageInstance()
src/commands/ping.ts:18:31 - error TS2345: Argument of type 'APIMessage | Message<boolean>' is not assignable to parameter of type 'Message<boolean> | APIMessage'.
Sapphire doesn't compile wirh discord.js v14
@sapphire/framework
and when I try to compile using tsc
I get thousands of errors from the sapphire framework. Am I missing an essential package?compile into single file
Custom listener name not applying
Precondition and InteractionHandler
Autocomplete handler not working
.setAutocomplete(true)
....How can I use shard
Sapphire keeps binding to ports
How to remove image from interaction reply when using a paginator?
files
option to an empty array on any pages where you don’t want an imageAutomatically delete a old slash command that has been renamed?
Commands won't be registered
sapphire type does not install on Node 19 [2]
sapphire new
command, The same happens with npm too?How to make custom sub command
Detect HMR Reload
ChannelTypes not detected as a difference in slash commands
Refresh Commands
shapeshift's default with respect to surroundings
s.object({
name: s.enum("A", "B"),
other: s.object({ name: s.string }).default(/** if name is "A", default is { name: "abc" }, if name is "B", default is { name: "cba" }
s.object({
name: s.enum("A", "B"),
other: s.object({ name: s.string }).default(/** if name is "A", default is { name: "abc" }, if name is "B", default is { name: "cba" }
when
, You'll be able to do it like this
```ts
s.object({
name: s.enum("A", "B"),
other: s.object({ name: s.string }).when('name', {...Command File & Directory Parsing
commands/music/index.ts
& commands/music/playlist.ts
.
What index.ts would be, is the "base command". Basically my question is how can my command handler be similar to Skyra's. If manipulating the framework won’t work, will using node:fs do the trick? Any links or documentation would be appreciated!...