Fixed bug
This commit is contained in:
1 parent
4cb45beded
commit
019bb4842f
1 file changed
+5
-1
+5
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user