From a38700b5ae8822f159c7457d4d67e53f75ca63fa Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 23 Sep 2022 17:56:38 +0800 Subject: Support lets encript prepairing for hypixel api change --- src/features/guild/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/features/guild') diff --git a/src/features/guild/index.js b/src/features/guild/index.js index 3fe0cdb..7a7307a 100644 --- a/src/features/guild/index.js +++ b/src/features/guild/index.js @@ -13,7 +13,7 @@ class Guild extends Feature { onEnable() { this.bridgeBots = new Set() - fetch("http://soopy.dev/api/soopyv2/gbots.json").json().then(bots => { + fetch("https://soopy.dev/api/soopyv2/gbots.json").json().then(bots => { bots.forEach(b => this.bridgeBots.add(b)) }) @@ -47,7 +47,7 @@ class Guild extends Feature { } else { if (msg.match(/^@(\w+?), ([\w\W]+?) \[GBot:([0-9]+)\] [,. ]+$/)) { let [_, name2, reply, gBotId] = msg.match(/^@(\w+?), ([\w\W]+?) \[GBot:([0-9]+)\] [,. ]+$/) - fetch("http://soopy.dev/api/botdown/" + gBotId).json().then(m => { + fetch("https://soopy.dev/api/botdown/" + gBotId).json().then(m => { let message = new Message(`&2B${this.shortenPrefix.getValue() ? "" : "ridge"} > &b${name2} &7⤷&f `) m.forEach(c => { -- cgit