AI works here

This commit is contained in:
2026-04-30 12:48:29 -04:00
parent 92024c8a64
commit 6f4519894b
16 changed files with 1793 additions and 303 deletions
+14
View File
@@ -166,6 +166,20 @@ module.exports = {
}
}
},
'resupply': {
desc: 'Trigger farm resupply manually',
allowed: ['wmantly', 'useless666', 'tux4242'],
ignoreLock: true,
async function(from, botName) {
const target = botName ? this.constructor.bots[botName] : this;
if (!target) return this.whisper(from, 'Unknown bot');
const fs = target.plunginsLoaded['FarmSupply'];
if (!fs) return this.whisper(from, 'FarmSupply not loaded');
this.whisper(from, 'Starting resupply...');
await fs.resupply();
this.whisper(from, 'Resupply complete');
}
},
'dismiss': {
desc: `Send a bot offline`,
allowed: ['wmantly', 'useless666', 'tux4242'],