This commit is contained in:
Dragon Fire
2021-04-04 11:46:00 -04:00
parent 93494062d3
commit 27ab3dc607
+1 -1
View File
@@ -200,7 +200,7 @@ module.exports = class Util {
}
static checkFileExists(filepath) {
return new Promise((res) => fs.access(filepath, fs.constants.F_OK, error => res(!error)));
return new Promise(res => fs.access(filepath, fs.constants.F_OK, error => res(!error)));
}
static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {