Fixed bug

This commit is contained in:
Noah committed 2021-10-27 20:19:27 -05:00
1 parent 4cb45beded
commit 019bb4842f
1 file changed
+5 -1
+5 -1
View File
@@ -117,7 +117,11 @@ module.exports = new Event("ready", (client) => {
let data = {
TicketPanelID: `${r.id}`,
};
fs.writeFileSync("./Data/ticket-panel-id.json", data, "utf8");
fs.writeFileSync(
"./Data/ticket-panel-id.json",
JSON.stringify(data),
"utf8"
);
})
.catch((e) => {
console.log("Raw" + e);