diff --git a/main.ts b/main.ts index 3237306..c66126f 100644 --- a/main.ts +++ b/main.ts @@ -55,6 +55,8 @@ else if (command === "get" && Deno.args.length == 2) { } if (newLastSeenAt != lastSeenAt) db.query("update channel set last_seen_at = ? where id = ?", [newLastSeenAt, id]); + + db.close(); } } else {