why do i do it like that. what if i dont.

This commit is contained in:
2025-11-10 18:11:24 -05:00
parent ce30181cd8
commit f1c3285905
3 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
module.exports = async (client, torn, config, state) => {
module.exports = async (client, torn, config) => {
console.debug("Task: Executing noItemOC");
const fs = require('fs');
const channel = client.channels.resolve(config.channels.ocAlert);
const now = new Date();
state = require('../state.json');
const state = require('../state.json');
const data = await torn.api(`https://api.torn.com/v2/faction/crimes?cat=planning&sort=DESC`);
let itemsneeded = 0;
let message = "OCs with unavailable items:\n";