···1212- [x] `/safemode` 👑 - Stop, Kill and backups servers from lists
1313- [x] `/backups {identifier}` - Show all backups for a server
1414- [x] `/create-backup {identifier}` - Create a new backup for a server
1515+- [x] `/help` - Show information about all available commands
15161617<small>👑: only for admins</small>
1718
+16-2
src/commands/Help.js
···11-import { SlashCommandBuilder } from "discord.js";
11+import { EmbedBuilder, SlashCommandBuilder } from "discord.js";
2233export default {
44 data: new SlashCommandBuilder()
55 .setName("help")
66 .setDescription("Show all available commands"),
77 async execute(interaction) {
88-88+ const embed = new EmbedBuilder()
99+ .setTitle("Need some help?")
1010+ .setDescription(`
1111+ **PteroBot** give an access to control your server trough this discord commands. \n
1212+ **/servers** : List all your servers \n
1313+ **/server {identifier}** : Show you informations about your server, like CPU, RAM, DISK utilization or Update \n
1414+ **/power {identifer} {state}** : Provide you a way to change a server state (start, stop, kill or restart) \n
1515+ **/backups {identifier}** : Show all your server backups \n
1616+ **/create-backup {identifier}** : Create a new backup for your (within the limit of available backups) \n
1717+ \n
1818+ If you want to support the bot development, please stared the github repository or contribute to it. https://github.com/Cosmeak/PteroBot
1919+ `)
2020+ .setTimestamp()
2121+ .setColor("Blurple");
2222+ return interaction.reply({ embeds: [embed] });
923 },
1024};