Favna
SIASapphire - Imagine a framework
•Created by RookieAND_ on 12/17/2024 in #sapphire-support
What is the role of a Piece and a Store in SapphireJS?
that is correct
4 replies
SIASapphire - Imagine a framework
•Created by Zaiden on 12/8/2024 in #sapphire-support
monorepo with sapphire
Similar to any monorepo. For example https://github.com/sapphiredev/plugins
11 replies
SIASapphire - Imagine a framework
•Created by Zaiden on 12/8/2024 in #sapphire-support
monorepo with sapphire
We have the sapphire guide in general but that's not monorepo specific. To adjust it for monorepo just add a root package.json, create a folder called bots or apps or whatever then a directory per bot which follows a structure mostly similar to a regular repo. The only factor then is that you can deduplicate build tooling and checks to the root of the monorepo
11 replies
SIASapphire - Imagine a framework
•Created by Zaiden on 12/8/2024 in #sapphire-support
monorepo with sapphire
Same as with any monorepo. Just mind that you cd into a subfolder before starting that particular bot.
11 replies
SIASapphire - Imagine a framework
•Created by Spencer on 12/7/2024 in #sapphire-support
Preconditions in Interaction Handler
It is not, however, remember that preconditions are basically just glorified if else checks.
5 replies
SIASapphire - Imagine a framework
•Created by Ravelt on 12/6/2024 in #discordjs-support
Change in how discord links emojis?
No animated=true has been a thing for a very long time I'm pretty sure
7 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
it generates to node_modules/.prisma
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
you deleted node_modules
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
you didnt run
pnpx prisma generate
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
I cant magically see your code so idk
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
anyway this is what is built into Node: https://nodejs.org/docs/latest/api/packages.html#subpath-imports
Bots like @Dragonite, @Skyra , @Gemboard all use it so you can look at their code
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
unnecessary because it's build into Node if you configure it a bit differently
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
if you use the library, unnecessarily might I add, then yes
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
can you show your package.json?
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
it shouldnt no
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
if you also nuked node_modules between tries and you're 100% sure you changed nothing else then there should be no difference between the 2
40 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 12/5/2024 in #discordjs-support
changed from npm to pnpm, bot doesn't work anymore
probably
40 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 12/4/2024 in #sapphire-support
Difference with dev and prod > The application now has 0 global commands
It never hurts to copy paste
19 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 12/4/2024 in #sapphire-support
Difference with dev and prod > The application now has 0 global commands
Yeah but now nodemon src Bot.ts doesn't work however presumably nodemon uses tsnode in the background so then:
19 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 12/4/2024 in #sapphire-support
Difference with dev and prod > The application now has 0 global commands
See the first big red block at the getting started guide https://sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
19 replies