Bot API Reference
Call these from your Discord bot to update statuses.
Update single executor
POST /api/executors/:name/status
Content-Type: application/json
{
"status": "online" | "offline" | "verifying" | "shutdown",
"key": "YOUR_SECRET_KEY"
}
Bulk update
POST /api/executors/bulk
{
"updates": [
{ "name": "Xeno Status", "status": "online" },
{ "name": "Volt Status", "status": "offline" }
],
"key": "YOUR_SECRET_KEY"
}
Notify Roblox update (bot → Firebase)
// In your Discord bot when Roblox update detected:
import { db } from './firebase.js';
import { doc, setDoc } from 'firebase/firestore';
await setDoc(doc(db, 'roblox', 'version'), {
currentVersion: '0.725.0.7251138',
currentUpload: 'version-76173e47a79145c7',
bootstrapper: '1, 6, 0, 7251138',
previousVersion: '0.724.0.7240000',
previousUpload: 'version-ad5d3e2906444472',
updatedAt: Date.now(),
updateDetected: true
});
Update executor status (bot → Firebase)
import { doc, updateDoc } from 'firebase/firestore';
await updateDoc(doc(db, 'executors', 'Xeno Status'), {
status: 'offline',
updatedAt: Date.now()
});