Hi there! This project was made to check the server status of the Galaxy Life game using a discord bot.
Well then, how do you use this bot?
- First of all, install Docker Desktop
- Now install git
- Use the git clone command to copy this repository.
git clone https://github.com/Auxority/galaxy-life-bot
- Copy the
.env.example
file and rename it to.env
-
Create your bot application by following these instructions
-
Open discord and open your user settings.
- Under
App Settings
click onAdvanced
- Enable developer mode
- Now return to the developer portal
- Select your bot application
-
Copy the client id from your new bot application and paste it in the
.env
file. The first line should look something like this:CLIENT_ID=1010101010101010101010
-
Click the
Bot
tab and copy the token, change theBOT_TOKEN
value in the.env
file to your token. It should end up looking something like this:BOT_TOKEN=MTAxNA897sd7Ba2.Btas21.987SYigdugy987-jkh875sdgGsafa
-
Now open discord and right click the server you want to add your bot to.
-
Copy the server's id.
-
Change the value of
GUILD_ID
in the.env
file to your server id. This should look similar to this:GUILD_ID=10001582727624224
-
Now save the
.env
file -
Use this website to invite your bot to your discord server.
-
Open a terminal and set the current directory to the project
discord-custom-rpc
. You can do this by typingcmd
in this bar in file explorer and pressing Enter.
- Run
docker compose up --build
in your terminal.
- Your bot should now be online. It might take a few seconds for the status to show up :)