feat: mise à jour du code

This commit is contained in:
UltraLionFr
2025-08-26 01:21:58 +02:00
parent 944845cd11
commit d3d3642ec3
29 changed files with 487 additions and 320 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
const fs = require("fs");
const path = require("path");
const initSqlJs = require("sql.js");
const fs = require('fs');
const path = require('path');
const initSqlJs = require('sql.js');
const dbPath = path.join(__dirname, "../tickets.db");
const dbPath = path.join(__dirname, '../tickets.db');
let db;
@@ -56,4 +56,4 @@ function closeTicket(channelId) {
saveDB();
}
module.exports = { initDB, createTicket, getTicketByChannel, closeTicket };
module.exports = { initDB, createTicket, getTicketByChannel, closeTicket };