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.
Discord Bot Hosting (Node.js v16)
Any MySQL Database
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 IS NO LONGER AVAILABLE FOR PTEROBOT.
/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)
/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!
/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.
You may not resell or redistribute this bot.
No refunds