This is the code for our Discord bot which runs on the official ATLauncher Discord server
There are no ports required for the atl bot
Name | Tag |
---|---|
Nodejs 16 | ghcr.io/ptero-eggs/yolks:node_16 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
client_token | Get a discord token at https://discordapp.com/developers/ | CLIENT_TOKEN | get_your_own_token_from_discord_ | Yes | Yes |
Node Environment | The node environment variable. Needs to stay at "development" to log to console. | NODE_ENV | development | Yes | No |
#!/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 "-----------------------------------------"