fix restart

This commit is contained in:
Louis Mazin 2025-07-05 14:35:21 +02:00
parent e35ac54842
commit 333dc4a459

View File

@ -34,8 +34,8 @@ module.exports = {
// Étape 2: Arrêter le serveur
await interaction.editReply('⏹️ Arrêt du serveur...');
await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/power', {
signal: 'stop'
await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/command', {
command: 'shutdown 0'
}, {
headers: headers
});