This is for heroku build only !!! For self hosting on PC, see this
- Clone - Clone a public/private google drive file/folder to your teamdrive.
- Mkdir - Make Directories directly from discord.
- Size - Calculate size of google drive files/folders from link.
- Move - Move files/folders from one location to other.
- sync - Sync source links to destination links.
- Delete - Delete folders/files.
- Name - Find name of google drive folders/files from link.
- Gclone - Run the shell / batch script if you are on Linux to install, or add the gclone.exe file to your system PATH variables if you are on Windows. Putting the script in the same directory as GClone in Windows will work as well. If you are on MacOS, download the Darwin build of GClone.
- AutoRClone - (Service accounts folder) - GClone requires service accounts. To generate and manage them, use AutoRClone. You can then configure GClone using the service accounts.
- Git - Install this program, and dont forget to add to PATH. Docs
- Heroku CLI - Install the Heroku CLI and add to PATH. Docs
Deploying to heroku takes patience. But its a one time setup. Have patience. If you find any difficulties, follow the video tutorial.
- Download the zip of the repo and extract it to a suitable location.
- Add service accounts (100 json files) to the accounts folder.
- Update the .env file.
- Add discord bot token
- Add bot prefix
- Add your discord id to USERIDS
- Add your discord id to ADMINS
- Add the default destination id
- Go to Heroku dashboard.
- Create a new app and give it a suitable name.
- Go to its settings, then under the buildpacks section, click Add Buildpack and add the following buildpacks:
heroku/python
https://github.com/The-Antrax/heroku-buildpack-rclone-mod.git
- Run command prompt in the folder in step 1.
- Follow these commands:
heroku login
git init
heroku git:remote -a "name"
Here name is the name of your heroku project.git add . -f
git commit -am "first commit"
git push heroku master
- Go to Resources tab in heroku dashboard. Refresh it. Click on the ✏️ icon, and toggle on the worker.
Incase you find any difficulties, follow this video tutorial
Enjoy using Gclone Discord Utilities Bot
Follow this tutorial