complain if expected files are not created instead of big confusing error

This commit is contained in:
2025-11-09 20:19:41 -05:00
parent 10dd9fb3cf
commit 743337cead
2 changed files with 17 additions and 4 deletions

View File

@@ -1,4 +1,11 @@
const config = require('./config')
let config;
try {
config = require('./config')
} catch {
return
}
module.exports = () => {};
module.exports.readyCheck = async (key) => {
const url = `https://api.torn.com/user/?selections=basic&key=${key}`