SirH
SIASapphire - Imagine a framework
•Created by Teixeira on 12/30/2024 in #sapphire-support
`ApplicationCommandType` TypeError
Awesome
9 replies
SIASapphire - Imagine a framework
•Created by Teixeira on 12/30/2024 in #sapphire-support
`ApplicationCommandType` TypeError
Idk, but I'd recommend asking in discord.js support, they probably would know what else might be up with it since that didn't fix it for you. But have you also restarted the tsserver? Sometimes it likes to be a pain in the butt
9 replies
SIASapphire - Imagine a framework
•Created by Teixeira on 12/30/2024 in #sapphire-support
`ApplicationCommandType` TypeError
It's an issue with the types from discord.js, here's their FAQ that mentions this and the solution:
https://discord.com/channels/222078108977594368/1320493963467296929
9 replies
SIASapphire - Imagine a framework
•Created by Dynamic on 12/28/2024 in #sapphire-support
extended property not autocompleting in vscode
Because the type doesn't contain db, you just modified the object but not the type so it doesn't know it's supposed to be there. Look at the Typescript example on the container extending guide:
3 replies
SIASapphire - Imagine a framework
•Created by nijama.dev on 12/25/2024 in #sapphire-support
Performance in interaction-handlers
The performance difference would likely be negligible to none, at most probably a bit more memory, but you ain't gonna notice it.
@kyra 🩵🩷🤍🩷🩵 can you confirm if I'm just talking out of my ass or not?
8 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 11/19/2024 in #sapphire-support
multiple idHints for multiple servers
Yeah
9 replies
SIASapphire - Imagine a framework
•Created by Chloe on 11/14/2024 in #sapphire-support
@sapphire/type does not work with Bun
This will be much more complicated than I previously thought cause Aura and I discussed it, she apparently had a bit of a tough roadblock that I can try to figure out but it will certainly not be an easy task :kek:
10 replies
SIASapphire - Imagine a framework
•Created by Chloe on 11/14/2024 in #sapphire-support
@sapphire/type does not work with Bun
I have the energy for tonight, so- I'll see what I can do in a bit
10 replies
SIASapphire - Imagine a framework
•Created by Chloe on 11/14/2024 in #sapphire-support
@sapphire/type does not work with Bun
someone called?
10 replies
SIASapphire - Imagine a framework
•Created by zero on 11/9/2024 in #sapphire-support
weird behavior with args.*Result after updating to sapphire v5.3.1
the assert equal is mainly a debugging/testing function to check if the outputted value from the left is equal to the value on the right
55 replies
SIASapphire - Imagine a framework
•Created by zero on 11/9/2024 in #sapphire-support
weird behavior with args.*Result after updating to sapphire v5.3.1
I noticed that particular part wasn't answered, so I was just filling in the gap
55 replies
SIASapphire - Imagine a framework
•Created by zero on 11/9/2024 in #sapphire-support
weird behavior with args.*Result after updating to sapphire v5.3.1
Yes, you could do
isErr()
if an input was invalid55 replies