This commit is contained in:
Noah committed 2021-12-18 22:23:18 -06:00
1 parent b3690222d0
commit c3ec158ac3
1 file changed
+3
+3
View File
@@ -258,6 +258,9 @@ module.exports = new Command({
} catch (e) {
if (e.code == "INTERACTION_COLLECTOR_ERROR")
try {
TicketData = await JSON.parse(
fs.readFileSync("./Data/TicketData.json", "utf8")
);
let ticket = await TicketData.tickets.findIndex(
(t) => t.id == ticketChannel.id
);