From 2f8e82f81847e98707efaa9f3713bd855a08dd05 Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Mon, 27 Jul 2020 14:52:05 -0400 Subject: [PATCH] use gitcdn --- src/modules/emoteModule.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/emoteModule.js b/src/modules/emoteModule.js index 34f2c05c..b2951e91 100644 --- a/src/modules/emoteModule.js +++ b/src/modules/emoteModule.js @@ -23,31 +23,31 @@ EmoteModule.prototype.init = async function () { const emoteInfo = { TwitchGlobal: { - url: `https://betterdiscord.zerebos.com/assets/emotedata_twitch_global.json`, + url: `https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotedata_twitch_global.json`, variable: "TwitchGlobal", oldVariable: "emotesTwitch", getEmoteURL: (e) => `https://static-cdn.jtvnw.net/emoticons/v1/${e}/1.0` }, TwitchSubscriber: { - url: `https://betterdiscord.zerebos.com/assets/emotedata_twitch_subscriber.json`, + url: `https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotedata_twitch_subscriber.json`, variable: "TwitchSubscriber", oldVariable: "subEmotesTwitch", getEmoteURL: (e) => `https://static-cdn.jtvnw.net/emoticons/v1/${e}/1.0` }, FrankerFaceZ: { - url: `https://betterdiscord.zerebos.com/assets/emotedata_ffz.json`, + url: `https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotedata_ffz.json`, variable: "FrankerFaceZ", oldVariable: "emotesFfz", getEmoteURL: (e) => `https://cdn.frankerfacez.com/emoticon/${e}/1` }, BTTV: { - url: `https://betterdiscord.zerebos.com/assets/emotedata_bttv.json`, + url: `https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotedata_bttv.json`, variable: "BTTV", oldVariable: "emotesBTTV", getEmoteURL: (e) => `https://cdn.betterttv.net/emote/${e}/1x` }, BTTV2: { - url: `https://betterdiscord.zerebos.com/assets/emotedata_bttv2.json`, + url: `https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotedata_bttv2.json`, variable: "BTTV2", oldVariable: "emotesBTTV2", getEmoteURL: (e) => `https://cdn.betterttv.net/emote/${e}/1x` @@ -248,7 +248,7 @@ EmoteModule.prototype.downloadEmotes = function(emoteMeta) { EmoteModule.prototype.getBlacklist = function () { return new Promise(resolve => { - require("request").get({url: "https://betterdiscord.zerebos.com/assets/emotefilter.json", json: true}, function (err, resp, data) { + require("request").get({url: "https://gitcdn.xyz/repo/rauenzi/BetterDiscordApp/gh-pages/assets/emotefilter.json", json: true}, function (err, resp, data) { if (err) return resolve(bemotes); resolve(bemotes.splice(0, 0, ...data.blacklist)); });