the-maty / dc-bot-pterodactyl-py

Discord bot inside docker with little edits of discord.py bot to manage pterodactyl. Credits to SimpleKitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discord-bot-pterodactyl-py

Just a discord bot that gives you the ability to control your servers (as long as your server provider provides it)


Instructions to run inside Docker

  1. Take docker-compose.yml and edit path where will be your config stored.
  2. Create config.py from example-config.py

Instructions for normal use

  1. Git Pull or Download the repo to your server
  2. Add your discord bot token along with your API Credentials , your Host's Panel Link and USER_IDs to the file in config > config.py
  3. Navigate to Cogs > petro.py SERVER IDENTIFICATION with Pterodactyl Server identifier.
  4. Navigate to the console and run pip install -U -r requirements.txt (ENSURE YOUR DIRECTORY IS CORRECT BEFORE RUNNING IT)
  5. Run python3 main.py in the console
  6. Your bot should be up and running with the commands in place

How to get your API Key

part 1 of getting api key part 2 of getting api key


How to get the server identification

ae


How to get my User ID

  1. Navigate to your User Settings, head to Advanced and enable Developer Mode
  2. Right click on yourself in any server or dm
  3. Click Copy User ID
  4. That's your user ID

About

Discord bot inside docker with little edits of discord.py bot to manage pterodactyl. Credits to SimpleKitter

License:GNU General Public License v3.0


Languages

Language:Python 100.0%