Template project (Issues setting up from scratch)

is there a skeleton sapphire project somewhere? I am having issues setting up even this https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire with typescript. something about node:31148) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. and TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for D:\Documents\Git Projects\Lyra-Bot\src\index.ts when switching the index.js extension to .ts. I am using node 20.10.0. thank you!
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and
Solution:
There are several options 1. @sapphire/cli can generate a new start 2. Those are taken from https://github.com/sapphiredev/examples so you can also do it manually 3. There are many open source bots that you can look at:...
GitHub
GitHub - sapphiredev/examples: Various examples of setting up your ...
Various examples of setting up your bot with the Sapphire Framework - GitHub - sapphiredev/examples: Various examples of setting up your bot with the Sapphire Framework
Jump to solution
9 Replies
Solution
Favna
Favna12mo ago
There are several options 1. @sapphire/cli can generate a new start 2. Those are taken from https://github.com/sapphiredev/examples so you can also do it manually 3. There are many open source bots that you can look at:
GitHub
GitHub - sapphiredev/examples: Various examples of setting up your ...
Various examples of setting up your bot with the Sapphire Framework - GitHub - sapphiredev/examples: Various examples of setting up your bot with the Sapphire Framework
Spinel
Spinel12mo ago
Discord Bots using @sapphire/framework v5.x - Gemboard ᴱ ᴰ - Dragonite ᴱ ᴰ - Archangel ᴱ ᴰ - Official Bot Examples ᴱ ᴰ ᴶˢ v4.x - Radon ᴱ ᴬ - Sapphire Application Commands Examples ᴱ - Zeyr ᴰ ᴬ - Birthdayy ᴰ - KBot ᴱ ᴬ ᴰ - RTByte ᴱ ᴬ Outdated bots / honourable mentions - Skyra ᴬ ᴰ Legend for the identifiers : Uses ESM (if not specified then uses CJS) : Advanced bot (if not specified it is a simple bot, or not graded) : Uses Docker in production ᴶˢ: Written in JavaScript. If not specified then the bot is written in TypeScript.
Lioness100
Lioness10012mo ago
Sure just remove my bot that's fine 😒
Favna
Favna12mo ago
Lmao update it then. I checked all bots and removed all the ones using older versions than v4 or using "next". In case of the latter because it's unclear what version is actually used. The only reason skyra is there is because she's in this server. I'll gladly, no, eagerly add it back when your bot is on v5. It felt really bad to cut down the list so much.
Lioness100
Lioness10012mo ago
the only reason skyra is there is because of nepotism You're not fooling anyone favvy wavvy
Favna
Favna12mo ago
kekGasm
Songbird
SongbirdOP12mo ago
thank you so much!:) I appreciate the help I’ll mark as solved when I’m at my PC
Favna
Favna12mo ago
I got u
Songbird
SongbirdOP12mo ago
thank you!!
Want results from more Discord servers?
Add your server