new alert for unpaid OC

This commit is contained in:
2025-11-08 19:25:27 -05:00
parent ed918a74ae
commit 8906829082
3 changed files with 67 additions and 3 deletions

View File

@@ -33,6 +33,12 @@ module.exports.user = {
}
};
module.exports.item = async (item) => {
const response = await fetch(`https://api.torn.com/v2/torn/${item}/items?sort=ASC&key=${config.torn}`);
const data = await response.json();
return(data);
}
module.exports.self = {
async id() {