bonk
SIASapphire - Imagine a Framework
•Created by Mateleo on 9/6/2023 in #sapphire-support
Issue with pnpm (A type annotation is necessary)
Hey, I wanted to remember you guys that this error still exists 🙂
I switched to yarn for now since the solution mentioned here somehow doesnt work for me
8 replies
SIASapphire - Imagine a Framework
•Created by bonk on 10/10/2023 in #sapphire-support
OwnerOnly precondition not working
You're welcome! You could also use the CLI, generate a new project and just put your stuff in there, this works too. I don't really exactly know what the issue is but yeah. 🙂
10 replies
SIASapphire - Imagine a Framework
•Created by bonk on 10/10/2023 in #sapphire-support
OwnerOnly precondition not working
@nonsensetwice
10 replies
SIASapphire - Imagine a Framework
•Created by bonk on 10/10/2023 in #sapphire-support
OwnerOnly precondition not working
After i made the failure messages work it said the "OwnerOnly" is unavailable, so I tried renaming the file, etc. and then it just worked for some reason.
Also i checked some repos linked here under tag how they made their BotOwner precondition.
https://github.com/SpecteraLabs/Spectera/blob/main/src/preconditions/BotOwner.ts
https://github.com/SpecteraLabs/Spectera/blob/main/src/listeners/commands/chatInputCommandDenied.ts
This made it work for me (thank you Spectera if you read this somehow). It could also work with the precondition in the guide by renaming it to smth like "BotOwner", I didn't try that
10 replies
SIASapphire - Imagine a Framework
•Created by bonk on 10/10/2023 in #sapphire-support
OwnerOnly precondition not working
fixed it
10 replies
SIASapphire - Imagine a Framework
•Created by bonk on 10/10/2023 in #sapphire-support
OwnerOnly precondition not working
Da command
10 replies