Skip to content

Commit

Permalink
Fix 247 Feature Resetting
Browse files Browse the repository at this point in the history
Signed-off-by: Peyton <[email protected]>
  • Loading branch information
peyton2465 authored Mar 26, 2024
1 parent 2b697a2 commit 40f4c95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/database/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40f4c95

Please sign in to comment.