dan
Explore posts from serversSIASapphire - 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
SIASapphire - Imagine a framework
•Created by dan on 7/31/2024 in #sapphire-support
Registering multiple paths for pieces
I already knew about this and I am currently using it, however I thought you could only set one custom path, but from another look it seems u can register multiple paths for a store
8 replies
SIASapphire - Imagine a framework
•Created by dan on 7/28/2024 in #sapphire-support
Global preconditions position seems to be broken
Well, I figured out why it wasn't running before. Since that precondition is appended into command preconditions if the requiredUserPermissions option is provided, it runs after the global preconditions
3 replies
SIASapphire - Imagine a framework
•Created by dan on 7/26/2024 in #sapphire-support
Overriding default permission precondition
Just bc I'm stupid and idk if this applies to listeners, but can I also override any default listener such as prefixedMessage?
11 replies
SIASapphire - Imagine a framework
•Created by dan on 7/26/2024 in #sapphire-support
Overriding default permission precondition
Alright, thx for clarifying
11 replies
SIASapphire - Imagine a framework
•Created by dan on 7/26/2024 in #sapphire-support
Overriding default permission precondition
The naming should be "UserPermissions", correct?
11 replies
SIASapphire - Imagine a framework
•Created by dan on 7/26/2024 in #sapphire-support
Overriding default permission precondition
I see. So it'd just be a simple "declare module @sapphire/framework..." after I've made my own precondition
11 replies