Egg Repository

Pterodactyl Community Egg Repository

ATLBot

ATLbot in ptero https://github.com/ATLauncher/discord-bot/

Read Me

ATLBot

Their Github

This is the code for our Discord bot which runs on the official ATLauncher Discord server

Server Ports

There are no ports required for the atl bot

Yolks
NameTag
Nodejs 16ghcr.io/ptero-eggs/yolks:node_16
Variables and Startup

Startup Command

npm run start

Variables

client_token

Get a discord token at https://discordapp.com/developers/

Environment Variable: CLIENT_TOKEN
Default Value: get_your_own_token_from_discord_
User Viewable:
User Editable:
Node Environment

The node environment variable. Needs to stay at "development" to log to console.

Environment Variable: NODE_ENV
Default Value: development
User Viewable:
User Editable:
Install Script
#!/bin/bash

apt update
apt -y install git openssl

cd /mnt/server
if [[ -d .git/ ]]; then
    git pull
else
    git clone https://github.com/ATLauncher/discord-bot.git .  
fi

echo '{}' > config/local.json

npm install --production

npm run build

rm Dockerfile
rm CONTRIBUTING.md
rm README.md
rm /config/.gitignore
rm CODE_OF_CONDUCT.md

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
Installation Imagenode:16-bookwormInstallation Entrypointbash