A Discord Bot GDPS for your geometry dash private server
Download this Repository. And then Extract the Files Zip.
After you Extract the zip files. Upload the bot folder/directory into your database geometry dash private
server to read files by the bot. Before you upload the bot folder please setup botConfig.php for emoji set.
First, we need to create a new application on the discord development portal.
We can do so by visiting the portal and clicking on new application.
Make your own bot name. For example:
Goto Bots Tab at the left option.
Copy your token bot and set bot permission to admin
After that, You must edit setup.json and .env at folder botfiles. Put your token and also your user id. Make your prefix at the setup.json. And also put your host of gdps must be included with database folder. Like this [ Not need slash at behind url ]
http://www.boomlings.com/database
Please download termux at Google Play Store
After you downloaded, Open the app and type..
pkg i nodejs
where did you put the botfiles is your path storage..
cd /sdcard/your-path-folder/botfiles
And then install all the dependencies in package.json using this code
npm i
Last Step to host the bot..
node index.js
For who want to use heroku.
First, you need register your account github and heroku
Github - https://github.com/join
Heroku - https://signup.heroku.com
After you register two of them
create new repository at github
https://github.com/new
Create your own name repository and then set to private.
And then Tap create repository.
And then for users PC just tap the import code to upload the botfiles .
For users Android must be install termux to upload the flies. Don't forget type
pkg install git
cd /sdcard/your-path-to-botfiles/botfiles
Follow this code
git config --global user.name "your username github"
git config --global user.email "your email github"
and follow the code at (..or create new repository ) except echo #repo >> Readme.md
GoTo Heroku Dashboard
Create new app and then fill your own name app.
After that, Tap create app [ Not Need Add Pipeline ]
Connect to Github Account to Cloning your repo to heroku and find your repo you has been created. Don't forget to setup token bot at setup.json and also your host server.
After you connect and clone your repo. Tap Deploy Branch to cloning and running the bot. After done deploying. Goto more at up site and goto view logs to see the bot is Online or not.
Last one you must invite your bot. Follow in this image
Now you can host in glitch and repl just clone/import this repo to it. (Please UptimeRobot to keep online the bot)
Credits: Cvolton