From 632ed96a1768b4e076684e3436fb47d3f4b7ba30 Mon Sep 17 00:00:00 2001 From: Minimine Date: Wed, 4 Apr 2018 16:32:39 +0200 Subject: [PATCH] 0.0.3 Updated installation-guide, added stop command and fixed a few bugs --- Docs/css/content.css | 3 ++ Docs/index.html | 61 +++++++++++++++------------- README.md | 56 +++++++++++++------------- src/ConfigurationCreator.js | 3 ++ src/PermissionSystem.js | 73 ++++++++++++++++++++++++++++++++++ src/commands.js | 16 +++++++- src/commands/clear.js | 9 ++++- src/commands/music.js | 31 ++++++++------- src/commands/stop.js | 36 +++++++++++++++++ src/filesystem.js | 3 +- src/levelSystem/LevelSystem.js | 2 + src/main.js | 9 +++-- src/moneySystem/MoneySystem.js | 2 + 13 files changed, 228 insertions(+), 76 deletions(-) create mode 100644 src/commands/stop.js diff --git a/Docs/css/content.css b/Docs/css/content.css index 5952b90..8c6660e 100644 --- a/Docs/css/content.css +++ b/Docs/css/content.css @@ -28,6 +28,9 @@ div#content::-webkit-scrollbar-thumb{ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: rgb(35,35,35); } +div#content a { + color: rgb(200, 200, 200); +} div#content table { background-color: #000; diff --git a/Docs/index.html b/Docs/index.html index 03bcbb3..9f0a710 100644 --- a/Docs/index.html +++ b/Docs/index.html @@ -1,9 +1,9 @@ - + MineBot Documentation - + @@ -49,39 +49,41 @@

Get the bot?

Windows

1. Install Python: Python

2. Install NodeJS: NodeJS

-

3. Download MineBot: MineBot (or, if you have installed git type in your command prompt)

+

3. Install ffmpeg: ffmpeg

+

4. Download MineBot: MineBot (or, if you have installed git type in your command prompt)

+

5 Go here and create a google account.

+

6. Go here click at select Project and then on the '+' +

7. Now select your project and enable Youtube data Api v3 and gmail api

+

8. Now go left on access data and create an api key and a OAuth 2.0-Client-ID

+

9 Now go on the Auth 2.0-Client-ID and lick download json. Call the file client_secret.json and do it into the bots folder. Now remember the api key, you will be asked for it in the installer when you first start the bot!

+

10. Open the folder with any command prompt and type to install the python package

+

11. Now install the npm packages

+

12. Now the bot is installed. Now just type , so it will be started. If you want it to automatically restart, type MineBot

+

13. Go here, create an Application and type in the TOKEN in the bot in the console, when you asked for it.

+

14. Replace in this Link the [ID] with your bots / applications id: and over this link add the bot to your server. +

15. Enable Developer options on on your Discord account and copy your user id, and type it in the console. Now you will be asked for the email. Type in the Mail address of our futured createted google account! At last type in our api key that we generad at point 8

+

16 Now everything is ready. You mustn't do that at every start of the bot. If it stops just type or

+ +
+
+
+
+

Linux and Raspbian

+

1. Type in you command prompt

+

2. Type in your command prompt to install the base programms.

+

3. Type in your command prompt to download the bot.

4 Go here and create a google account.

5. Go here click at select Project and then on the '+'

6. Now select your project and enable Youtube data Api v3 and gmail api

7. Now go left on access data and create an api key and a OAuth 2.0-Client-ID

8 Now go on the Auth 2.0-Client-ID and lick download json. Call the file client_secret.json and do it into the bots folder. Now remember the api key, you will be asked for it in the installer when you first start the bot!

-

9. Open the folder with any command prompt and type to install the python package

-

10. Now install the npm packages

-

11. Now the bot is installed. Now just type , so it will be started. If you want it to automatically restart, type MineBot

+

9. Type in your command prompt to install the python package.

+

10. Type in your command prompt to install the python packages.

+

11. To start type in your command prompt.

12. Go here, create an Application and type in the TOKEN in the bot in the console, when you asked for it.

13. Replace in this Link the [ID] with your bots / applications id: and over this link add the bot to your server. -

14. Enable Developer options on on your Discord account and copy your user id, and type it in the console. Now you will be asked for the email. Type in the Mail address of our futured createted google account! At last type in our api key that we generad at point 8

-

15 Now everything is ready. You mustn't do that at every start of the bot. If it stops just type or

-
-
-
-
-
-

Linux and Raspbian

-

1. Type in your command prompt to instal the base programms.

-

2. Type in your command prompt to download the bot.

-

3 Go here and create a google account.

-

4. Go here click at select Project and then on the '+' -

5. Now select your project and enable Youtube data Api v3 and gmail api

-

6. Now go left on access data and create an api key and a OAuth 2.0-Client-ID

-

7 Now go on the Auth 2.0-Client-ID and lick download json. Call the file client_secret.json and do it into the bots folder. Now remember the api key, you will be asked for it in the installer when you first start the bot!

-

8. Type in your command prompt to install the python package.

-

9. Type in your command prompt to install the python packages.

-

10. To start type in your command prompt.

-

11. Go here, create an Application and type in the TOKEN in the bot in the console, when you asked for it.

-

12. Replace in this Link the [ID] with your bots / applications id: and over this link add the bot to your server. -

13. Enable Developer options on on your Discord account and copy your user id, and type it in the console. Now you will be asked for the email. Type in the Mail address of our futured createted google account! At last type in our api key that we generad at point 7

-

14 Now everything is ready. You mustn't do that at every start of the bot. If it stops just type

+

14. Enable Developer options on on your Discord account and copy your user id, and type it in the console. Now you will be asked for the email. Type in the Mail address of our futured createted google account! At last type in our api key that we generad at point 7

+

15 Now everything is ready. You mustn't do that at every start of the bot. If it stops just type



@@ -148,6 +150,9 @@

Commands + Permissions

rip <name>;(reason) funny.rip + + stop + system.stop (Only in global-permissions.yml. not for guild owners)