diff --git a/basicBot.js b/Plexius.js similarity index 99% rename from basicBot.js rename to Plexius.js index 0054ea87..1e4cbd2d 100644 --- a/basicBot.js +++ b/Plexius.js @@ -231,14 +231,14 @@ return str; }; - var botCreator = "Yemasthui"; - var botMaintainer = "Benzi" + var botCreator = "WolfiiYT"; + var botMaintainer = "WolfiiYT" var botCreatorIDs = ["3851534", "4105209"]; var basicBot = { - version: "2.8.17", + version: "1.0.4", status: false, - name: "basicBot", + name: "Plexius", loggedInID: null, scriptLink: "https://rawgit.com/basicBot/source/master/basicBot.js", cmdLink: "http://git.io/245Ppg", @@ -248,12 +248,12 @@ retrieveSettings: retrieveSettings, retrieveFromStorage: retrieveFromStorage, settings: { - botName: "basicBot", + botName: "Plexius", language: "english", chatLink: "https://rawgit.com/basicBot/source/master/lang/en.json", scriptLink: "https://rawgit.com/basicBot/source/master/basicBot.js", roomLock: false, // Requires an extension to re-load the script - startupCap: 1, // 1-200 + startupCap: 10, // 1-200 startupVolume: 0, // 0-100 startupEmoji: false, // true or false autowoot: true, @@ -1345,7 +1345,7 @@ return 'Function.' }; var u = API.getUser(); - if (basicBot.userUtilities.getPermission(u) < 2) return API.chatLog(basicBot.chat.greyuser); + if (basicBot.userUtilities.getPermission(u) < 0) return API.chatLog(basicBot.chat.greyuser); if (basicBot.userUtilities.getPermission(u) === 2) API.chatLog(basicBot.chat.bouncer); basicBot.connectAPI(); API.moderateDeleteChat = function (cid) { @@ -1422,7 +1422,7 @@ basicBot.loggedInID = API.getUser().id; basicBot.status = true; API.sendChat('/cap ' + basicBot.settings.startupCap); - API.setVolume(basicBot.settings.startupVolume); + API.setVolume(34); if (basicBot.settings.autowoot) { $("#woot").click(); } @@ -1442,6 +1442,7 @@ } API.chatLog('Avatars capped at ' + basicBot.settings.startupCap); API.chatLog('Volume set to ' + basicBot.settings.startupVolume); + API.chatLog('OVERRIDE: Volume has been set to 34%, as set by "API.setVolume" integer.') //socket(); loadChat(API.sendChat(subChat(basicBot.chat.online, {botname: basicBot.settings.botName, version: basicBot.version}))); }, diff --git a/README.md b/README.md index afeea0c1..b53e3cf7 100644 --- a/README.md +++ b/README.md @@ -1,75 +1,14 @@ -# basicBot (source) - -[![Slack](https://basicbot.herokuapp.com/badge.svg)](https://basicbot.herokuapp.com/) [![facebook group](https://img.shields.io/badge/facebook-group-3b5998.svg?style=flat)](https://facebook.com/groups/basicBot) [![twitter](https://img.shields.io/twitter/follow/bscbt.svg?style=social)](https://twitter.com/bscbt) - - +# Plexius Usage ----- Bookmark the following code. To run the bot, run the bookmark. -`javascript:(function(){$.getScript('https://rawgit.com/basicBot/source/master/basicBot.js');})();` +`javascript:(function(){$.getScript('https://rawgit.com/plexius/source/master/Plexius.js');})();` -If this does not work, go to https://raw.githubusercontent.com/basicBot/source/master/basicBot.js and copy paste its content into your console (accessible in chrome by pressing F12) when on plug.dj in your community. +If this does not work, go to https://raw.githubusercontent.com/plexius/source/master/Plexius.js and copy paste its content into your console (accessible in chrome by pressing F12) when on plug.dj in your community. Commands -------- -These can be found in [the commands file](https://github.com/basicBot/source/blob/master/commands.md). - - -Blacklists ----------- -Examples of blacklists can be found in [the customization repository](https://github.com/basicBot/custom/tree/master/blacklists). -You can add blacklists in the settings of the bot via the methods given in that same repository. See below for more information. - - -Extending functionality and custom default settings ---------------------------------------------------- -basicBot can be customized to fit your needs. Please refer to [the customization repository](https://github.com/basicBot/custom) for more info. -Please do not try to if you are not confident in your javascript capabilities. - - -basicBot Chrome Extension -------------------------- -[Get the Official basicBot Chrome Extension](https://chrome.google.com/webstore/detail/basicbot/bjinmbkeneigmkkkpcmcokphbjkepeie) - - -Developers ----------- - - [Benzi](https://github.com/Benzi) __(Maintainer)__ - - -Credits --------- - -I would like to thank the following people: - -- Fungus: His Tastybot has been a source of inspiration for most of the features, and his help with coding problems has been invaluable to make this bot. -- TAT, Origin and other Litebot contributors: Their Litebot has inspired features like Roulette. -- Henchman: Never knew this undertaking would give me a friend too. - -|Language | Translator| -|:------:|:---------:| -|Portuguese|[Motel Bible](https://github.com/motelbible)| -|French|[NDA](https://github.com/NDAthereal)| - -__I would also like to thank everyone who contributed in translating the bot via the [translation centre](https://basicbot.oneskyapp.com/admin/collaborators)__ - - -### Copyright - -Copyright © 2014-2016 basicBot - -Modifications (including forks) of the code to fit personal needs are allowed only for personal use and should refer back to the original source. -This software is not for profit, any extension, or unauthorised person providing this software is not authorised to be in a position of any monetary gain from this use of this software. Any and all money gained under the use of the software (which includes donations) must be passed on to the original author. - - -Disclaimer ----------- +These can be found in [the commands file](https://github.com/plexius/source/blob/master/commands.md). -This bot is developed independently. Changes may be made without notice. There is no guarantee for the bot to be functioning perfectly. -plug.dj admins have the right to request changes. -By using this chatbot you agree to not use it for violating plug.dj's Terms of Service. -You also agree not to alter the bot's code, unless in the cases explicitly stated above, for personal use, or for the sole purpose of submitting a pull request with a bug fix or a feature update, at which point it will be looked at and decided by the authors of the project. -Please refer to the original author/repository at all times, even on personal forks that are not private. -Any requests for changes can be requested via email, through github or via plug.dj.