misc(pterodactyl): added another ⚠️
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 20s
Actions / Build Documentation (MkDocs) (push) Successful in 22s

This commit is contained in:
Seaswimmer 2024-03-05 02:28:10 -05:00
parent 8c58e1746e
commit 9d64c15a87
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -173,7 +173,7 @@ class Pterodactyl(commands.Cog):
if current_status == 'stopped':
return await ctx.send("Server is already stopped.")
view = ConfirmView(ctx.author, disable_buttons=True)
message = await ctx.send("**⚠️ Forcefully killing the server process can corrupt data in some cases.**\nAre you sure you want to kill the server?", view=view)
message = await ctx.send("**⚠️ Forcefully killing the server process can corrupt data in some cases. ⚠️**\nAre you sure you want to kill the server?", view=view)
await view.wait()
if view.result is True:
await message.edit(content="Sending websocket command to kill server...", view=None)