From 1afc612096a904b583a2d2033360d682f6729e44 Mon Sep 17 00:00:00 2001 From: jsDelivr Bot Date: Fri, 7 Dec 2018 19:40:20 +0100 Subject: [PATCH] Replace RawGit with jsDelivr --- basicBot.js | 8 ++++---- lang/langIndex.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basicBot.js b/basicBot.js index 4aa9d51..0ba7b8e 100644 --- a/basicBot.js +++ b/basicBot.js @@ -54,7 +54,7 @@ var loadChat = function (cb) { if (!cb) cb = function () { }; - $.get("https://rawgit.com/Mid0na/basicBot/master/lang/langIndex.json", function (json) { + $.get("https://cdn.jsdelivr.net/gh/Mid0na/basicBot/lang/langIndex.json", function (json) { var link = basicBot.chatLink; if (json !== null && typeof json !== "undefined") { langIndex = json; @@ -183,9 +183,9 @@ status: false, name: "basicBot", loggedInID: null, - scriptLink: "https://rawgit.com/Mid0na/basicBot/master/basicBot.js", + scriptLink: "https://cdn.jsdelivr.net/gh/Mid0na/basicBot/basicBot.js", cmdLink: "http://git.io/xHgo", - chatLink: "https://rawgit.com/Mid0na/basicBot/master/lang/fr.json", + chatLink: "https://cdn.jsdelivr.net/gh/Mid0na/basicBot/lang/fr.json", chat: null, loadChat: loadChat, retrieveSettings: retrieveSettings, @@ -193,7 +193,7 @@ settings: { botName: "LGD_Bot", language: "French", - chatLink: "https://rawgit.com/Mid0na/basicBot/master/lang/fr.json", + chatLink: "https://cdn.jsdelivr.net/gh/Mid0na/basicBot/lang/fr.json", startupCap: 200, // 1-200 startupVolume: 6, // 0-100 startupEmoji: true, // true or false diff --git a/lang/langIndex.json b/lang/langIndex.json index 894113a..6d785c4 100644 --- a/lang/langIndex.json +++ b/lang/langIndex.json @@ -1,5 +1,5 @@ { - "english": "https://rawgit.com/Yemasthui/basicBot/master/lang/en.json", + "english": "https://cdn.jsdelivr.net/gh/Yemasthui/basicBot/lang/en.json", "portuguese": "https://rawgit.com/Yemasthui/basicBot/master/lang/pt.json", - "french": "https://rawgit.com/Yemasthui/basicBot/master/lang/fr.json" + "french": "https://cdn.jsdelivr.net/gh/Yemasthui/basicBot/lang/fr.json" } \ No newline at end of file