From 40f4c9518813251e89031ffd258ce5ac17fd630e Mon Sep 17 00:00:00 2001 From: Peyton Date: Mon, 25 Mar 2024 23:07:58 -0500 Subject: [PATCH] Fix 247 Feature Resetting Signed-off-by: Peyton --- src/database/server.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/database/server.ts b/src/database/server.ts index 58224d65a..cc938cee2 100644 --- a/src/database/server.ts +++ b/src/database/server.ts @@ -104,7 +104,6 @@ export default class ServerData { if (guildId) { const data: any = db.prepare('SELECT * FROM stay WHERE guildId = ?').get(guildId); if (!data) { - db.prepare('INSERT INTO stay (guildId) VALUES (?)').run(guildId); return false; } else { return data;