From 86bd88168af57999adb40fd4230fe7614394c8d5 Mon Sep 17 00:00:00 2001 From: Sebastian Danielzik Date: Fri, 9 Aug 2024 00:04:13 +0200 Subject: [PATCH] fix typo and update for memory issue --- package.json | 6 +++--- src/events/util/guildJoin.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 39c5d33..d32e7be 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "commands": "node --no-warnings --import=tsx --env-file=.env src/scripts/deploy", "dev": "node --no-warnings --import=tsx --env-file=.env --watch src/index.ts", "prisma": "prisma migrate deploy", - "prod": "prisma migrate deploy & node --no-warnings --import=tsx --env-file=.env src/index.ts" + "prod": "prisma migrate deploy & node --max-old-space-size=8192 --import=tsx --env-file=.env src/index.ts" }, "author": "Sebastian 'Moonded' Danielzik", "license": "ISC", @@ -29,7 +29,7 @@ "@types/node": "^20.10.5" }, "engines": { - "node": ">=20.6.0", - "pnpm": ">=8.9.0" + "node": ">=22.6.0", + "pnpm": ">=8.15.9" } } diff --git a/src/events/util/guildJoin.ts b/src/events/util/guildJoin.ts index 3d94a1a..1797130 100644 --- a/src/events/util/guildJoin.ts +++ b/src/events/util/guildJoin.ts @@ -1,4 +1,4 @@ import { event } from "utils"; export default event("guildCreate", async ({ log }, Guild) => { - log(`Joind Guild: ${Guild.id}`); + log(`Joined Guild: ${Guild.id}`); });