Pterodactyl status to discord
1.0.0
Posts The server status from Pterodactyl panel to discord webhook
NOTE- If You dont understand this version, you can switch back to old version HERE
Clone the repository git clone https://github.com/BeeXD/pterodactyl-status-to-discord
cd pterodactyl-status-to-discord
Then write npm install
Now The Node Package Manager should install dependencies.
.env
and replace the text PANEL_TOKEN with the api key.PANEL_TOKEN=aetkAaETukhaEG135136aey
https://yourWebsite.com/server/031afba1
replace yourWebsite.com with your domain.031afba1
is your server id..env
File.SERVER_ID=
to SERVER_ID=SERVERID
.WEBHOOK_URL=
to WEBHOOK_URL=YOUR-URL
node index.js
, Now using the cron module the file will send the stats every 1 minute.Thank You! <3
Thanks To contributors
A big thanks to lying who helped me in this