forked from cswimr/SeaCogs
fix(pterodactyl): fixed incorrect action_ing string for stopping the server
This commit is contained in:
parent
25b26322d2
commit
7a75266b01
1 changed files with 2 additions and 0 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue