Update to reload

This commit is contained in:
2023-04-02 10:25:05 +02:00
parent 8978a39321
commit c29e5a6d93

View File

@@ -68,7 +68,7 @@ module.exports = {
return
}
const child = spawn('pm', ['restart 0'], {})
const child = spawn('pm restart 0', {})
if (child.stderr) {
await interaction.editReply({ content: 'Error restarting bot.', ephemeral: true })