Bug fixes and ~~performance~~ typing improvements
diff --git a/src/utils/temp/generateFileName.ts b/src/utils/temp/generateFileName.ts
index 956f1d7..8534846 100644
--- a/src/utils/temp/generateFileName.ts
+++ b/src/utils/temp/generateFileName.ts
@@ -12,10 +12,8 @@
if (fs.existsSync(`./${fileName}`)) {
fileName = generateFileName(ending);
}
- client.database.eventScheduler.schedule(
- "deleteFile",
- new Date().getTime() + 60 * 1000,
- { fileName: `${fileName}.${ending}` }
- );
+ client.database.eventScheduler.schedule("deleteFile", new Date().getTime() + 60 * 1000, {
+ fileName: `${fileName}.${ending}`
+ });
return path.join(__dirname, fileName + "." + ending);
}