readable logs pog

This commit is contained in:
2025-04-08 17:11:25 -04:00
parent 093cbc62f4
commit 81fab5b45b
2 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ module.exports.readyCheck = async (key) => {
const url = `https://api.torn.com/user/?selections=basic&key=${key}`
const response = await fetch(url);
const data = await response.json();
console.log(`Connected to Torn as ${data.name} [${data.player_id}]`);
console.log(`Torn: Connected as ${data.name} [${data.player_id}]`);
};
module.exports.test = async () => {
const url = `https://api.torn.com/user/?selections=basic&key=${config.torn}`