sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Precondition not triggering "chatInputCommandDenied"
this.error
, however because you're using Array#forEach
which accepts a callback function that returns void
you're not actually returning this.error
for the function chatInputRun
but rather for the anonymous arrow function that is provided to Array#forEach
.
You can solve this by using for...of
instead....Sapphire keeps taking me in circles! Can't access my Dashboard.
multiple idHints for multiple servers
Serializing string-store result inside another schema
string-store
for this. One of the features in my framework is that you can make customIds that refer to commands, kind of like this:
```ts
class MyCommand extends Command {
public async execute(i: ChatInputInteraction, meta: Metadata) {
const bot = meta.getBot();...Random date generator
Constantly getting "The application did not respond"
await interaction.reply('bla bla')
. Anytime I try to do something from bulkDelete to sending embeds or creating buttons, I get the thing. Is there anything to try and debug that? Is it possible that my computer is too slow for developing a bot (lmao, it is not that slow though).
Obviously defering doesn't do a thing. At first I thought my code was wrong but sometimes it works, sometimes it doesn't... One thing remains, this damn message telling me it didn't respond.
Maybe there is a problem with how Sapphire handles my commands right now, found somewhere that a command handler could mess things up and take too long to load up the commands so in the meantime, no response......@sapphire/type does not work with Bun
"The application did not respond" on bulkDelete message use
/
I don't even see my bot appearing (only the built-in stuff).
Does the code seem fair? I can't see any major mistake that would make it not register...
```js...Sapphire not updating the command
weird behavior with args.*Result after updating to sapphire v5.3.1
[p]base64
cmd, this same setup worked perfectly fine when I was on sapphire 5.2.1 but after updating to v.5.3.1 today weird issues like these are popping up. Did something change in @sapphire/result to introduce this change? because it feels like breaking.
also I tried to check whats changed between @sapphire/result v2.6.6 ... v2.7.1 but it says 465 files changed and trying to browse it to figure out what changed makes chrome on my potato laptop hard crash, so can someone help me figure out around this issue? thanks....Pieces Framework Inquiry
@sapphire/pieces
Would the pieces framework work outside of a discord.js (or discord related) project? I'm looking to add a module framework for my Electron IPC functions....@sapphire/plugin-i18next FallbackLng Error
SchemaStore narrowed to never
never
:
```ts
import { SchemaStore, Schema } from "@sapphire/string-store";
const Id = {...how to pass variables from one interaction into the next?
@sapphire/plugin-api Methods Error
Google Cloud Run not logging into the bot
interaction.channel is null in slash commands
[email protected] type level problem
Context Menu not working