diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-23 17:56:38 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-23 17:56:38 +0800 |
commit | a38700b5ae8822f159c7457d4d67e53f75ca63fa (patch) | |
tree | 13097a8f1a5e1e3b71a0948f9b876e6ec3d1c600 /src/features/guild | |
parent | 644a192508dba2719c24ecd3c0b3295120b0fbb5 (diff) | |
download | SoopyV2-a38700b5ae8822f159c7457d4d67e53f75ca63fa.tar.gz SoopyV2-a38700b5ae8822f159c7457d4d67e53f75ca63fa.tar.bz2 SoopyV2-a38700b5ae8822f159c7457d4d67e53f75ca63fa.zip |
Support lets encript prepairing for hypixel api change
Diffstat (limited to 'src/features/guild')
-rw-r--r-- | src/features/guild/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 => { |