Auxority / galaxy-life-bot

A galaxy life discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Galaxy Life Status

Hi there! This project was made to check the server status of the Galaxy Life game using a discord bot.

Usage

Well then, how do you use this bot?

  1. First of all, install Docker Desktop

  1. Now install git

  1. Use the git clone command to copy this repository. git clone https://github.com/Auxority/galaxy-life-bot

  1. Copy the .env.example file and rename it to .env

  1. Create your bot application by following these instructions

  2. Open discord and open your user settings.

  1. Under App Settings click on Advanced

  1. Enable developer mode

  1. Now return to the developer portal

  1. Select your bot application

  1. 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

  2. Click the Bot tab and copy the token, change the BOT_TOKEN value in the .env file to your token. It should end up looking something like this: BOT_TOKEN=MTAxNA897sd7Ba2.Btas21.987SYigdugy987-jkh875sdgGsafa

  3. Now open discord and right click the server you want to add your bot to.

  4. Copy the server's id.

  1. Change the value of GUILD_ID in the .env file to your server id. This should look similar to this: GUILD_ID=10001582727624224

  2. Now save the .env file

  3. Use this website to invite your bot to your discord server.

  4. Open a terminal and set the current directory to the project discord-custom-rpc . You can do this by typing cmd in this bar in file explorer and pressing Enter.

  1. Run docker compose up --build in your terminal.

  1. Your bot should now be online. It might take a few seconds for the status to show up :)

About

A galaxy life discord bot


Languages

Language:TypeScript 97.3%Language:Dockerfile 1.9%Language:Shell 0.8%