Skip to content

Commit

Permalink
Merge pull request #527 from peyton2465/patch-1
Browse files Browse the repository at this point in the history
Fix 247 Feature Resetting
  • Loading branch information
LucasB25 authored Mar 26, 2024
2 parents 2b697a2 + 40f4c95 commit 9c7d74e
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 9c7d74e

Please sign in to comment.