diff --git a/basicBot.js b/basicBot.js index dd1669cd..4bf8a582 100644 --- a/basicBot.js +++ b/basicBot.js @@ -184,7 +184,7 @@ name: "basicBot", loggedInID: null, scriptLink: "https://rawgit.com/Yemasthui/basicBot/master/basicBot.js", - cmdLink: "http://git.io/245Ppg", + cmdLink: "Comming Soon", chatLink: "https://rawgit.com/Yemasthui/basicBot/master/lang/en.json", chat: null, loadChat: loadChat, @@ -833,16 +833,6 @@ } } - var lastplay = obj.lastPlay; - if (typeof lastplay === 'undefined') return; - if (basicBot.settings.songstats) { - if (typeof basicBot.chat.songstatistics === "undefined") { - API.sendChat("/me " + lastplay.media.author + " - " + lastplay.media.title + ": " + lastplay.score.positive + "W/" + lastplay.score.grabs + "G/" + lastplay.score.negative + "M.") - } - else { - API.sendChat(subChat(basicBot.chat.songstatistics, {artist: lastplay.media.author, title: lastplay.media.title, woots: lastplay.score.positive, grabs: lastplay.score.grabs, mehs: lastplay.score.negative})) - } - } basicBot.room.roomstats.totalWoots += lastplay.score.positive; basicBot.room.roomstats.totalMehs += lastplay.score.negative; basicBot.room.roomstats.totalCurates += lastplay.score.grabs; @@ -1609,19 +1599,6 @@ } }, - commandsCommand: { - command: 'commands', - rank: 'user', - type: 'exact', - functionality: function (chat, cmd) { - if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0); - if (!basicBot.commands.executable(this.rank, chat)) return void (0); - else { - API.sendChat(subChat(basicBot.chat.commandslink, {botname: basicBot.settings.botName, link: basicBot.cmdLink})); - } - } - }, - cookieCommand: { command: 'cookie', rank: 'user', @@ -1645,7 +1622,7 @@ 'gives you an Oreo cookie with a glass of milk!', 'gives you a rainbow cookie made with love :heart:', 'gives you an old cookie that was left out in the rain, it\'s moldy.', - 'bakes you fresh cookies, it smells amazing.' + 'bakes you fresh Tronopolis cookies, it smells amazing.' ], getCookie: function () { var c = Math.floor(Math.random() * this.cookies.length); @@ -1901,20 +1878,6 @@ } }, - helpCommand: { - command: 'help', - rank: 'user', - type: 'exact', - functionality: function (chat, cmd) { - if (this.type === 'exact' && chat.message.length !== cmd.length) return void (0); - if (!basicBot.commands.executable(this.rank, chat)) return void (0); - else { - var link = "http://i.imgur.com/SBAso1N.jpg"; - API.sendChat(subChat(basicBot.chat.starterhelp, {link: link})); - } - } - }, - joinCommand: { command: 'join', rank: 'user',