Removed unused script

This commit is contained in:
2025-03-08 14:04:49 +01:00
parent 65c997a8e4
commit 8dfcc7c346
2 changed files with 0 additions and 20 deletions

View File

@@ -1,19 +0,0 @@
import axios from "axios"
import { log } from "../src/utils/Logger.js"
const url = process.env.WATCHTOWERURL
const token = process.env.WATCHTOWERTOKEN
if (!url || !token) {
throw new Error("Missing WATCHTOWERURL or WATCHTOWERTOKEN")
}
await axios.get(url, {
headers: {
Authorization: `Bearer ${token}`
}
}).then(() => {
log("Illegitimate bot updated", "info")
}).catch(err => {
console.error("Error updating bot", err)
})