Skip to content

An open source discord bot for Geometry Dash private servers

License

Notifications You must be signed in to change notification settings

RPDuct/Open-GDPS-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open GDPS Bot

An open source discord bot for Geometry Dash private servers

How to setup

Server side

First you install this repo. Unpack the zip and place the bot folder in your main folder of your GDPS (the main folder is the folder with all the main files and folders and is most of the time the database folder).

Bot

First go to the discord dev portal and make a new application (use an original name because you can't make a bot with an application name like bot).

fix your internet bro, this is an image


Go to bot and add a new one.

fix your internet bro, this is an image


Change the username and change the profile picture (if you want) and copy the token (you are going to need that later)

fix your internet bro, this is an image


Then, you get the files from the main folder and put those on a new PRIVATE GitHub repository and edit the config file.

Config file

prefix: Change this to the prefix you want to use (keeping it empty also works but it isn't recommended).

token: Paste the token you copied from the discord dev portal in this string (DON'T SHARE THIS TOKEN).

ownerid: Replace this with your discord userID, this will give you access to the owner commands. If you don't know how to get a userID read this.

host: Put the main folder of your GDPS here WITHOUT a / at the end.

ratechannel: put the channel ID where you want the bot to report new rates. Leaving it empty will make the bot not send new rates. To copy a channel ID just right click on the channel and copy the ID.

emotes: Make a small server and add all emotes from the emote folder and after that for every emote type the message \:emote name: and copy what discord puts in the channel and put that in the right emote spot.

Uploading

The bot should be ready now and now it's just a matter of uploading it.
Go to the site Heroku and register a new account if you haven't already.
Then go to the dashboard and create a new app here.

fix your internet bro, this is an image


Once you did that go to Deploy and press on the GitHub button.

fix your internet bro, this is an image


Connect your GitHub account to Heroku and then type in the repo name of your bot and click search.
Press connect and scroll all the way down and press Deploy Branch (I don't recommend pressing Enable Automatic Deploys)
After the site shows the bot has been deployed go to resources, refresh the page and click the little edit icon first on the web part, disable that, then on the worker part and enable that.

fix your internet bro, this is an image


Now press on More and then View logs and check if the bot gave an output telling you that it's logged in.

fix your internet bro, this is an image


You're done!

Invite your bot with as link https://discordapp.com/oauth2/authorize?client_id=YOUR_BOT_CLIENT_ID&scope=bot&permissions=8 and replace YOUR_BOT_CLIENT_ID with the client ID of your bot which you can find here:

fix your internet bro, this is an image


Just as a last test try the command [your prefix]test in the server where your bot is. If this for some reason doesn't work go back to the Heroku console and DM me on discord (SMJS#0897) a screenshot of the console output.

About

An open source discord bot for Geometry Dash private servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published