This commit is contained in:
Louis Mazin 2026-04-16 00:07:13 +02:00
parent 21f737e822
commit eeddb97523

View File

@ -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
});