fix restart
This commit is contained in:
parent
e35ac54842
commit
333dc4a459
@ -34,8 +34,8 @@ module.exports = {
|
|||||||
|
|
||||||
// Étape 2: Arrêter le serveur
|
// Étape 2: Arrêter le serveur
|
||||||
await interaction.editReply('⏹️ Arrêt du serveur...');
|
await interaction.editReply('⏹️ Arrêt du serveur...');
|
||||||
await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/power', {
|
await axios.post('https://panel.louismazin.ovh/api/client/servers/ae4a628f/command', {
|
||||||
signal: 'stop'
|
command: 'shutdown 0'
|
||||||
}, {
|
}, {
|
||||||
headers: headers
|
headers: headers
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user