Update to reload
This commit is contained in:
@@ -68,7 +68,7 @@ module.exports = {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const child = spawn('pm', ['restart 0'], {})
|
const child = spawn('pm restart 0', {})
|
||||||
|
|
||||||
if (child.stderr) {
|
if (child.stderr) {
|
||||||
await interaction.editReply({ content: 'Error restarting bot.', ephemeral: true })
|
await interaction.editReply({ content: 'Error restarting bot.', ephemeral: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user