diff --git a/commands/server/reboot-server.js b/commands/server/reboot-server.js index eb857bf..298ad71 100644 --- a/commands/server/reboot-server.js +++ b/commands/server/reboot-server.js @@ -30,13 +30,13 @@ module.exports = { // Étape 1: Sauvegarder le serveur await interaction.editReply('💾 Sauvegarde du serveur en cours...'); await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/command', { - command: 'save' + command: 'save-all' }, { headers: headers }); await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/command', { - command: "broadcast 'Redemarrage du serveur (Ca prends 20 secondes)'" + command: "say 'Redemarrage du serveur (Ca prends 20 secondes)'" }, { headers: headers });