A simple discord bot made to turn your aternos server on/off and also see your server stats.
Prefix: 2
- 2help (or 2h) - Returns a help list;
- 2minecraft info - Returns your server info;
- 2minecraft interrupt - Turn your server on/off;
-
Create your aternos server (tutorial) (make sure that it is the only server in your account, if it doesn't, you should share your access with a new aternos account with just your server)
-
Create a discord bot and get your token (tutorial)
-
Fill .credentials.json
{
"token": "*put your discord bot API token here*",
"aternos_user": "*your aternos user*",
"aternos_password": "*your aternos password*"
}
npm run setup
- Start the bot
node .