Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • 🎒 Back-to-School Sale!

    Get 20% OFF on all monthly Ranks with coupon code: Back-to-school

    Start the new season smarter, stronger, and ready to shine ✨

    💡 Keep your subscription active and you’ll continue paying the discounted price every month!

    Upgrade Now 🚀
PteroBot | The original panel api based discord bot.

PETRO PteroBot | The original panel api based discord bot. [2.2]

Register to download
---[ Why PteroBot ]---
Discord has announced that they will drop support for the classic bot commands feature so only slash commands will work. Other bots that use the API if they aren't maintained won't work. This bot is activly maintained and works with discord's slash commands. We are open to suggestions and feature requests in my discord server.

---[ Requirements ]---
Discord Bot Hosting (Node.js v16)
Any MySQL Database

---[ Setup ]---
Head here to the discord developer portal and click New Application.
Then set a profile picture and choose a name.
Once created head to the Bot tab and click Create a bot.
Once that's done head over to OAuth2 and select the scopes: bot and applications.commands.
Then scroll down and select the permissions that you want the bot to have. (Minimum: Send Messages, Embed Links and View Channels)
Then copy the link and enter it in your browser, then add it to your server.
Unzip the folder
All of the setup variables are in the file 'src/Configs/config.json'
If you want to change the colours or the emojis used for certain things you will find it in 'src/Configs/embed.json'
DON'T PUT A SLASH AT THE END OF THE PANEL_URL!
To get the bot token head here, click on the application you created before click on the Bot tab and copy Token.
THIS IS PRIVATE! DON'T SHARE THIS WITH ANYONE.
Before you start you'll need to install the npm packages: dotenv, [email protected], fs, axios and mysql2

---[ Support ]---
SUPPORT IS NO LONGER AVAILABLE FOR PTEROBOT.

---[ Commands - Administration ]---
/adminsever <server_id> - Displays information about the specified server!
/userserver <server_id> - Gives a link to the specifed server's panel!
/adminservers [<node>] - Lists all of the servers registered on the panel! If node is provided just displays the ones on that node!
/adminusers - Lists all of the users registered on the panel!
/setmaxdatabases <server_internal_id> <number> - Sets the max database count for the specified server! To get the internal id do /adminserver <server_id>.
/nodes - Lists all of the nodes on the panel. (Not tested)

---[ Commands - Servers]---
/backups <server_id> - Lists all of the backups on the specified server!
/kill <server_id> - Kills the specified server!
/network <server_id> - Lists all of the network allocations for the given server!
/register - Lets a user enter their API key! Required for most commands!
/rename <server_id> - Renames the specified server!
/restart <server_id> - Restarts the specified server!
/send <server_id> <command> - Executes a command on the specified server.
/server <server_id> - Displays in-depth information about the specified server.
/servers - Lists all of the servers the user has access to.
/start <server_id> - Starts the specified server!
/stop <server_id> - Stops the specified server!
/users <server_id> - Lists all of the subusers on the specified server!
---[ Commands - General ]---
/help [<command>] - Displays the help message. If command is specified it displays extra information about that command.
/jar <jar_type> <jar_version> - Gives a download link to the specified minecraft server jar.


---[ TOS ]---
You may not resell or redistribute this bot.
No refunds
Author
COSMO
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from COSMO

Share this resource

Tags
None
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock