Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.65 KB

File metadata and controls

44 lines (33 loc) · 1.65 KB

Ptero bot

What is Ptero bot?

Ptero bot is a discord bot that is designed to help you manage your pterodactyl panel. It is designed to be easy to use and easy to setup.

Features

List servers

List all your servers with the command /servers servers

get server information

Get information about a server with the command /info server:<server_id> you can start / stop / restart the server with the buttons server

connect a channel with the server console

Connect a channel with the server console with the command /console_channel server:<server_id>

you can send commands to the server by typing > before the command all log will be sent to the channel console

manage bot permissions

You can manage the bot permissions with the command /permissions

permissions

a public instance is available here:

discord link

running the bot

How do I setup Ptero bot on my own?

  • install docker
  • configure the .env file with the correct values exemple:
      DISCORD_TOKEN=your_discord_token
      DISCORD_CLIENT_ID=your_discord_client_id
      DATABASE_URL="mysql://root:root@db:3306/ptero-bot"
  • run docker compose up -d
  • create prisma database with docker-compose exec node npx prisma migrate dev
  • done !