dan
Explore posts from serversSIASapphire - Imagine a framework
•Created by dan on 1/11/2025 in #sapphire-support
Precondition results
But alright, I'll try again now. Hopefully it works
9 replies
SIASapphire - Imagine a framework
•Created by dan on 1/11/2025 in #sapphire-support
Precondition results
I'll see if I can find the old bot files where this error happened. No promises though since I recently switched laptops and I haven't quite transferred everything properly
9 replies
SIASapphire - Imagine a framework
•Created by dan on 1/11/2025 in #sapphire-support
Precondition results
My only reason is that I pass some extra things to precondition errors, and I'd like to have better type safety than just using
as ExampleInterface
on the context9 replies
SIASapphire - Imagine a framework
•Created by dan on 1/11/2025 in #sapphire-support
Precondition results
No no, I get what you mean. The error actually originated from sapphire's core pre message run listener, not from my own listener.. idk why but my custom class made it so result couldn't unwrap the error. It was quite the strange error and I never understood why it didn't work
9 replies
SIASapphire - Imagine a framework
•Created by dan on 12/19/2024 in #sapphire-support
Stop sapphire from automatically loading pieces
Ah yes I forgot about this. Thanks
5 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 12/14/2024 in #sapphire-support
Use Prisma with SapphireJS
6 replies
SIASapphire - Imagine a framework
•Created by ./Ticker on 12/14/2024 in #sapphire-support
Use Prisma with SapphireJS
6 replies
SIASapphire - Imagine a framework
•Created by dan on 9/7/2024 in #sapphire-support
Support for bun
Yeah It was related to both tsconfig and esm lol. I've always stuck with commonjs but Ig it's time to switch to esm
7 replies
SIASapphire - Imagine a framework
•Created by dan on 9/7/2024 in #sapphire-support
Support for bun
Ah I see, I just need to use esm then
7 replies
SIASapphire - Imagine a framework
•Created by dan on 9/3/2024 in #sapphire-support
Overriding message command listeners
Right I just looked through the source code and that's how it's done initially so I'm assuming it's possible. Should've probably done this before opening a post
3 replies
SIASapphire - Imagine a framework
•Created by čamdžić on 8/17/2024 in #sapphire-support
drizzle orm
And prisma is pretty easy to use
19 replies
SIASapphire - Imagine a framework
•Created by čamdžić on 8/17/2024 in #sapphire-support
drizzle orm
Fyi drizzle is much much slower on most operations compared to something like prisma or typeorm, so you should probably stick with those two
19 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
I might make a pr soon but it depends on how quickly I'm able to finish this
15 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
Yeah this is what I wanted to do initially
15 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
Yeah I ended up just using the logger plugin for the timestamps
15 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
OOp I didn't see these messages
15 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
I see. Yeah I switched to sapphire so the registration and stuff would be easier. I can live without my custom logger, it's just that I got accustomed to it, that's all
15 replies
SIASapphire - Imagine a framework
•Created by dan on 8/8/2024 in #sapphire-support
Application command registries
Forgot to mention in the initial message but I did read the documentation and didn't see anything there
15 replies
SIASapphire - Imagine a framework
•Created by dan on 7/31/2024 in #sapphire-support
Registering multiple paths for pieces
Alright, thanks
8 replies
SIASapphire - Imagine a framework
•Created by dan on 7/31/2024 in #sapphire-support
Registering multiple paths for pieces
Because It says to also recognize the folder {folder}, which I'm assuming means you can register multiple of them
8 replies