This is a support bot for the Pterodactyl Installation Script Discord, but feel free to adapt it for your own uses. It is a simple bot that responds to commands, keywords, or parsed image text.
Nodejs v16.6.0 or newer is required. You can install that using:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
We provide an easy-to-use docker-compose.yml
file. Just install docker
and docker-compose
. Create a file named .env
and add the following variables.
TOKEN="<token>"
git clone https://github.com/pterodactyl-installer/pis-bot.git
yarn install --production
Then create a .env
file and add the following config:
TOKEN=<token>
PREFIX=<prefix>
Then just build the bot with:
yarn build
And to start it once use:
yarn start
Triggers are defined in src/config/triggers.ts
.
(After adding any don't forget to rebuild)
One-time start: yarn start
Using docker and docker-compose: docker-compose up -d
To stay updated with the latest versions, you can use the docker image provided.