diff --git a/README.md b/README.md index 2de4cbb..38efec9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ It can currently: - [x] `/safemode` 👑 - Stop, Kill and backups servers from lists - [x] `/backups {identifier}` - Show all backups for a server - [x] `/create-backup {identifier}` - Create a new backup for a server +- [x] `/help` - Show information about all available commands 👑: only for admins diff --git a/src/commands/Help.js b/src/commands/Help.js index c042993..bc29580 100644 --- a/src/commands/Help.js +++ b/src/commands/Help.js @@ -1,10 +1,24 @@ -import { SlashCommandBuilder } from "discord.js"; +import { EmbedBuilder, SlashCommandBuilder } from "discord.js"; export default { data: new SlashCommandBuilder() .setName("help") .setDescription("Show all available commands"), async execute(interaction) { - + const embed = new EmbedBuilder() + .setTitle("Need some help?") + .setDescription(` + **PteroBot** give an access to control your server trough this discord commands. \n + **/servers** : List all your servers \n + **/server {identifier}** : Show you informations about your server, like CPU, RAM, DISK utilization or Update \n + **/power {identifer} {state}** : Provide you a way to change a server state (start, stop, kill or restart) \n + **/backups {identifier}** : Show all your server backups \n + **/create-backup {identifier}** : Create a new backup for your (within the limit of available backups) \n + \n + If you want to support the bot development, please stared the github repository or contribute to it. https://github.com/Cosmeak/PteroBot + `) + .setTimestamp() + .setColor("Blurple"); + return interaction.reply({ embeds: [embed] }); }, };