v3.5.6 bug fix update
This commit is contained in:
@@ -95,7 +95,7 @@ exports.compile = (guild,channel,user,messagesInv,data) => {
|
||||
bot:{
|
||||
name:data.bot.name || "Open Ticket",
|
||||
id:Number(data.bot.id) || 0,
|
||||
pfp:data.bot.pfp || "dj-dj.be/wp-content/uploads/2022/07/profielfoto-blauw-wit.png?size=128"
|
||||
pfp:data.bot.pfp || "transcripts.dj-dj.be/favicon.png"
|
||||
},
|
||||
ticket:{
|
||||
name:channel.name,
|
||||
|
||||
@@ -15,7 +15,7 @@ const checkAvailability = async () => {
|
||||
if (process.argv.some((v) => v == "--tsoffline")) return true
|
||||
const axios = require("axios").default
|
||||
try{
|
||||
const res = await axios.get("https://transcripts.dj-dj.be/api/status.json")
|
||||
const res = await axios.get("https://apis.dj-dj.be/transcripts/status.json")
|
||||
if (!res || !(res.status == 200) || !res.data) return false
|
||||
|
||||
if (res.data && res.data["v2"] == "online") return true
|
||||
|
||||
Reference in New Issue
Block a user