Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions basicBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -183,17 +183,17 @@
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,
retrieveFromStorage: retrieveFromStorage,
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
Expand Down
4 changes: 2 additions & 2 deletions lang/langIndex.json
Original file line number Diff line number Diff line change
@@ -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"
}