diff --git a/basicBot.js b/basicBot.js index 0054ea87..107abe26 100644 --- a/basicBot.js +++ b/basicBot.js @@ -99,7 +99,7 @@ var loadChat = function (cb) { if (!cb) cb = function () { }; - $.get("https://rawgit.com/basicBot/source/master/lang/langIndex.json", function (json) { + $.get("https://rawgit.com/fviii/source/master/lang/langIndex.json", function (json) { var link = basicBot.chatLink; if (json !== null && typeof json !== "undefined") { langIndex = json; @@ -236,45 +236,45 @@ var botCreatorIDs = ["3851534", "4105209"]; var basicBot = { - version: "2.8.17", + version: "4.2.0", status: false, name: "basicBot", loggedInID: null, - scriptLink: "https://rawgit.com/basicBot/source/master/basicBot.js", + scriptLink: "https://rawgit.com/fviii/source/master/basicBot.js", cmdLink: "http://git.io/245Ppg", - chatLink: "https://rawgit.com/basicBot/source/master/lang/en.json", + chatLink: "https://rawgit.com/fviii/source/master/lang/en.json", chat: null, loadChat: loadChat, retrieveSettings: retrieveSettings, retrieveFromStorage: retrieveFromStorage, settings: { - botName: "basicBot", + botName: "SeshBot", language: "english", - chatLink: "https://rawgit.com/basicBot/source/master/lang/en.json", - scriptLink: "https://rawgit.com/basicBot/source/master/basicBot.js", + chatLink: "https://rawgit.com/fviii/source/master/lang/en.json", + scriptLink: "https://rawgit.com/fviii/source/master/basicBot.js", roomLock: false, // Requires an extension to re-load the script startupCap: 1, // 1-200 startupVolume: 0, // 0-100 startupEmoji: false, // true or false - autowoot: true, - autoskip: false, + autowoot: false, + autoskip: true, smartSkip: true, cmdDeletion: true, - maximumAfk: 120, + maximumAfk: 180, afkRemoval: true, - maximumDc: 60, - bouncerPlus: true, + maximumDc: 15, + bouncerPlus: false, blacklistEnabled: true, lockdownEnabled: false, lockGuard: false, maximumLocktime: 10, - cycleGuard: true, + cycleGuard: false, maximumCycletime: 10, voteSkip: false, voteSkipLimit: 10, - historySkip: false, + historySkip: true, timeGuard: true, - maximumSongLength: 10, + maximumSongLength: 15, autodisable: true, commandCooldown: 30, usercommandsEnabled: true, @@ -290,16 +290,16 @@ ["nsfw", "The song you contained was NSFW (image or sound). "], ["unavailable", "The song you played was not available for some users. "] ], - afkpositionCheck: 15, + afkpositionCheck: 5, afkRankCheck: "ambassador", - motdEnabled: false, - motdInterval: 5, - motd: "Temporary Message of the Day", + motdEnabled: true, + motdInterval: 10, + motd: ":herb: :fire:", filterChat: true, etaRestriction: false, welcome: true, opLink: null, - rulesLink: null, + rulesLink: "https://i.gyazo.com/120467052aeec74f1e1aa4ac21141f8b.png", themeLink: null, fbLink: null, youtubeLink: null, @@ -309,9 +309,9 @@ songstats: true, commandLiteral: "!", blacklists: { - NSFW: "https://rawgit.com/basicBot/custom/master/blacklists/NSFWlist.json", - OP: "https://rawgit.com/basicBot/custom/master/blacklists/OPlist.json", - BANNED: "https://rawgit.com/basicBot/custom/master/blacklists/BANNEDlist.json" + NSFW: "https://rawgit.com/fviii/custom/master/blacklists/NSFWlist.json", + OP: "https://rawgit.com/fviii/custom/master/blacklists/OPlist.json", + BANNED: "https://rawgit.com/fviii/custom/master/blacklists/BANNEDlist.json" } }, room: { @@ -1626,7 +1626,7 @@ afktimeCommand: { command: 'afktime', - rank: 'bouncer', + rank: 'mod', type: 'startsWith', functionality: function (chat, cmd) { if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0); @@ -1697,7 +1697,7 @@ autowootCommand: { command: 'autowoot', - rank: 'user', + rank: 'mod', type: 'exact', functionality: function (chat, cmd) { if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0); @@ -1968,7 +1968,7 @@ cycleguardCommand: { command: 'cycleguard', - rank: 'bouncer', + rank: 'mod', type: 'exact', functionality: function (chat, cmd) { if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0); @@ -2476,7 +2476,7 @@ if (msg.length <= cmd.length + 1) return API.sendChat(subChat(basicBot.chat.currentlang, {language: basicBot.settings.language})); var argument = msg.substring(cmd.length + 1); - $.get("https://rawgit.com/basicBot/source/master/lang/langIndex.json", function (json) { + $.get("https://rawgit.com/fviii/source/master/lang/langIndex.json", function (json) { var langIndex = json; var link = langIndex[argument.toLowerCase()]; if (typeof link === "undefined") { @@ -3415,7 +3415,7 @@ unbanCommand: { command: 'unban', - rank: 'bouncer', + rank: 'mod', type: 'startsWith', functionality: function (chat, cmd) { if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0);