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;