feat: Introduce new modules for class, inventory, leveling, and quests with expanded schema, refactor user service, and add verification scripts.

This commit is contained in:
syntaxbullet
2025-12-07 23:03:33 +01:00
parent be471f348d
commit 29c0a4752d
21 changed files with 1228 additions and 163 deletions

20
src/scripts/write-env.ts Normal file
View File

@@ -0,0 +1,20 @@
import { writeFile } from "fs/promises";
const content = `DB_USER=kyoko
DB_PASSWORD=kyoko
DB_NAME=kyoko
DB_PORT=5432
DB_HOST=localhost
DISCORD_BOT_TOKEN=MTQ0Mzg4NTA3NDM0ODExODA5OA.GcX7aT.S6G2jWqLmPAOx04JBHhJn7TCPsx5pK5RMUxN3g
DISCORD_CLIENT_ID=1443885074348118098
DISCORD_GUILD_ID=1443887793565728870
DATABASE_URL=postgres://kyoko:kyoko@localhost:5432/kyoko
`;
try {
await writeFile(".env", content);
console.log("Updated .env");
} catch (e) {
console.error(e);
}