From 7a75266b012e2456d5cc04b70046a8ea484d3c49 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 11 Mar 2024 22:19:31 -0400 Subject: [PATCH] fix(pterodactyl): fixed incorrect action_ing string for stopping the server --- pterodactyl/pterodactyl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 40fa293..67d61b6 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -207,6 +207,8 @@ class Pterodactyl(commands.Cog): The action to perform on the server.""" if action.value == "kill": return await self.power(interaction, action.value, "stopping... (forcefully killed)", warning="**⚠️ Forcefully killing the server process can corrupt data in some cases. ⚠️**\n") + if action.value == "stop": + return await self.power(interaction, action.value, "stopping...") return await self.power(interaction, action.value, f"{action.value}ing...") @commands.group(autohelp = True, name = "pterodactyl", aliases = ["ptero"])