A simple tool to serve your own discord bot, so you can manage an Aternos server from discord.
pip install -r requirements.txt
python -m venv venv
and then source venv/bin/activate
to finally pip install -r requirements.txt
python3 Bot.py
Note: When running Bot.py
for the first time, you'll be prompted to enter your Aternos account and bot token. You'll need to run python3 Bot.py
again after you finish setting your information.
.env
directly or delete it and run Bot.py
again.Before following the instructions, make sure you have the following installed:
sudo apt-get install libxml2-dev libxslt-dev python-dev
sudo apt-get install python3-lxml python-lxml
sudo apt-get install python3-wheel
sudo apt-get install python3-tk
pip3 install -r requirements.txt
inside the folder
.env
file in the following format:
BOT_TOKEN= DISCORD_BOT_TOKEN
USERNAME_C= ATERNOS_USERNAME
PASSWORD_C= ATERNOS_PASSWORD
sudo apt-get install chromium-browser
sudo apt-get install chromium-chromedriver
connect_and_launch.py
, change driver executable path to '/usr/lib/chromium-browser/chromedriver'
python3 Bot.py
Cloud hosting this bot would require some workarounds as Aternos recognizes you are connecting from a data center and prompts for a captcha test.