hirzidevs / pterostats Goto Github PK
View Code? Open in Web Editor NEWPteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server
Home Page: https://pterostats.hirzidevs.xyz
License: MIT License
PteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server
Home Page: https://pterostats.hirzidevs.xyz
License: MIT License
Error: Request failed with status code 500
Can you please make a version with discord.js@13?
Becorse discord/discord-api-docs#4510
I wanna that design but i wanna see the SERVER status.
Add also uptimer logger not only downtime
I have updated the bot using git pull
and I am now receiving the following error:
Unsupported "axios" version!.
Please delete your "node_modules" and "package-lock.json".
And restart the bot.
Please make sure to check and remove "npm install" command from your startup params.
I have also tried deleting the entire bot, recloning the repository and I still get the same error.
Hi
I would like to know if there are future plans for developing integration for Microsoft Teams, Whatapp bot, email notification if when an application does go down
Thank you for an amazing application.
Kind Regards
i need in status show servers status like in 1 vps we have minecraft server 1 ,minecraft server 2 , minecraft server 3
so in status i can see all 3 server and vps status
and also send logs maybe and reminder minecraft servers Suspend.
We have 2 nodes. 1 in canada 1 in germany. Our German node is using a tunnel from our France DDoS protected server using a local tunnel path to connect to the outside internet. Since this is the only route wings will operate on the bot isn't looking for it so it's giving a false positive saying it's offline.
Tunnel IP: 10.10.12.2
Public IP: 164.132.158.16
All traffic coming through 164.132.158.16 is communicating via 10.10.12.2 but for whatever reason the status bot isn't looking on 10.10.12.2 I can't find what it's looking for but I'm trying to fix it. thought I'd open an issue to make others aware of this issue.
The bot doesn't send nothing, and the console gives this error;
(node:25) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot execute action on a system message
at RequestHandler.execute (/home/container/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async RequestHandler.push (/home/container/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
(node:25) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:25) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I use discord.js v13 so i had to edit sending (from ch.send(embed)
to ch.send({ embeds: [embed] })
and messages.edit(embed)
to messages.edit({ embeds: [embed] })
idk if code worked before but it dont now, what to do
πΏπ
Here is the logs
I've asked my host's support since PetroStats' Discord server is basicaly dead, they said the bot was broken.
I followed all the instructions the Github page supplied, your website is also broken.
I've tried to understand what the error is and its something about the Embed Form is invalid as the title says.
In the latest updates to discord.js activity presence has stopped working.
I believe it's an issue where v14 now requires the type field to be an integer to match the ActivityType enum.
A quick edit to the ready.js event to just manually set the type to 3 (watching) had the desired results.
/PteroStats/node_modules/@discordjs/util/dist/index.js:34
return () => defaultValue ??= cb();
^^^
SyntaxError: Unexpected token '??='
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.