Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
/ MineBot Public archive

MineBot is a discord Server managing bot written in javascript and python.

License

Notifications You must be signed in to change notification settings

MinimineLP/MineBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineBot

MineBot, a discord managing bot. Check out our discord support server

Note: We would advise you to use our html documentation.

Installing

We would advise you to use our html documentation. It will be automatically cloned with this repositiory. It has a better install guide.

Windows

1. Install Python: Python

2. Install NodeJS: NodeJS

3. Install ffmpeg: ffmpeg 4. Download MineBot: MineBot (or, if you have installed git type git clone https://github.com/MinimineLP/MineBot 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 pip install --upgrade google-api-python-client to install the python package

11. Now install the npm packages MineBot install

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

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: https://discordapp.com/oauth2/authorize?client_id=[ID]&scope=bot&permissions=2146958591 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 typeMineBot start or MineBot loopstart

Linux and Raspbian

1. Type sudp apt-get upgrade in your command prompt

2. Type sudo apt-get install node nodejs npm python3 python-pip git screen ffmpeg -y in your command prompt to instal the base programms.

3. Type git clone https://github.com/MinimineLP/MineBot 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. Type pip install --upgrade google-api-python-client in your command prompt to install the python package.

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

11. To start type screen -L -S MineBot bash start.sh 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: https://discordapp.com/oauth2/authorize?client_id=[ID]&scope=bot&permissions=2146958591 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 7

14 Now everything is ready. You mustn't do that at every start of the bot. If it stops just type screen -L -S MineBot bash start.sh

Built in

  • NodeJS - Main used framework
  • Pyrhon - Used for the gmail adapter

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

MineBot is a discord Server managing bot written in javascript and python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published