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:
20
src/scripts/write-env.ts
Normal file
20
src/scripts/write-env.ts
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user