feat: ✨ Introduce role check and timer before server stop
All checks were successful
Publish staging Docker image / Push Docker image to Gitea Container Registry (push) Successful in 1m40s
All checks were successful
Publish staging Docker image / Push Docker image to Gitea Container Registry (push) Successful in 1m40s
This commit is contained in:
@ -12,7 +12,7 @@ module.exports = {
|
||||
.setName('stop-mc')
|
||||
.setDescription('Stops the minecraft server machine.'),
|
||||
async execute(interaction) {
|
||||
proxmox.qemu.shutdown("pve", "102", function(err, res) {
|
||||
proxmox.qemu.shutdown("pve", "103", function(err, res) {
|
||||
if (err) {
|
||||
interaction.reply("Error starting the Minecraft server: " + err);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user