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 and buttons. Most of the messages send to the user are ephemeral this means that only the user who sent the command can see them to respect privacy. We are open to suggestions and feature requests in my discord server.
---[ Requirements ]---
Discord Bot Hosting (Node.js v16)
---[ 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 the environment variables are in .env, edit the values in there.
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,discord.js, fs, axios and mysql2/promise
---[ Support ]---
If you require support related to the bot or setup please feel free to join the discord server here.
Or you can DM me directly at Tomsoz#7766.
---[ 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.