Open GDPS Bot
Custom Bot For GDPS with GMDprivateserver
Open Source GDPS BOT
Installation
for bot hosting is Necessary a GitHub Account for this script files and FORK HERE MY REPO, or nothave two options, Discord or GitHub.
although it's not strictly necessary to fork the repo.
If you fork,
- IMPORTANT:
DO NOT PUT YOUR BOT'S TOKEN IN YOUR FORK REPO BECAUSE DISCORD WILL DEACTIVATE IT AND YOU WILL HAVE TO RESET THE TOKEN TO GET IT AGAIN. MAKE THE CHANGES IN THE bot-hosting.
WebSite or Your Server Host
You must extract the contents of the bot/ folder for the slash command handler. If the server does not have config/connection.php, you will need to change the path for its function in the bot with the server
How Host (Safe Token)
web here: https://bot-hosting.net/login
1
2
3
and Click on Launch Development Note: Don't Run the Bot Yet , Wait, and Read Slowy.
4 : Go to Files and Open the 3 Lines, is A Copy of Files From the Repo, Files in Cloud for Safety reasons.
5: enter in
.env and Configure it the
BOT_TOKEN=
Afther Save Is Automatically, enter in setup.json
and configure it :
you have this
``
"prefix": "/",
"host": "https://mygdps",
"owner": "discordIDuser",
"moderator": "aCustomroleID for Mod",
"statusbot": "online",
"actionbot": "Playing Neo PS",
"gdpsup": {
"gdps": true,
"directory": "gdpsup",
"turn": "Off"
},
"channel": {
"gdpsstatus": "1516253429402697758",
"ratestatus": "disabled/leave blank this or put 0"
}
`` Perfix "/" Is For Slash Response | Don't Change it.
host: your https://fhgdps.com/ (directly | other host) , is dbpath /database/ or /db/ put it when : https://mygdps.com/db/ mygdps.com/database/ etc
IS NECESSARY https://
Startup
1: Follow IMG
Version: 24 (L)
Entry File :
index.js
and Start Command :
npm install && node . ide-mode
Env Section
Add With the Name an Environment Variables
BOT_TOKEN
AND THE TOKEN
Note
If the bot is running, turn it off, but don't click "kill" because it will interrupt the .npm install process and delete necessary files. Click "stop," or do nothing else, although the bot might still freeze. On Discord, but since the command always runs npm install, use them, but with caution; it's more advisable to use stop or restart.
Packages
In Packages section
go in Add package writing the name of the next Dependencies,
and Select the Version Writed here
Although the host already provides what needs to be installed, that's why the npm install command is there for that purpose; otherwise, what could the bot use? It wouldn't work.
Dependencies
discord.js
^14.27.0
dotenv
^16.6.1
express
^4.22.2
SFTP
Less important here, but it's up to you if you want to work on this more quickly and how, using your FTP file manager.
Informative Note
If you're going to save everything in the repo, I recommend downloading the .zip file from this repo and modifying it right away, or if you're going to make it private, then you'll have to upload the files there.
Final
Anything else I haven't mentioned isn't necessary for this process; it depends on how you use it correctly and your experience flow.
If the bot isn't working or won't start, let me know in the Issues section so I can help you without any problems. ✅✅
Thanks for GDPSFH and Bot-Hosting For sponsor this