forked from cswimr/SeaCogs
misc(pterodactyl): added another ⚠️
This commit is contained in:
parent
8c58e1746e
commit
9d64c15a87
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class Pterodactyl(commands.Cog):
|
||||||
if current_status == 'stopped':
|
if current_status == 'stopped':
|
||||||
return await ctx.send("Server is already stopped.")
|
return await ctx.send("Server is already stopped.")
|
||||||
view = ConfirmView(ctx.author, disable_buttons=True)
|
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()
|
await view.wait()
|
||||||
if view.result is True:
|
if view.result is True:
|
||||||
await message.edit(content="Sending websocket command to kill server...", view=None)
|
await message.edit(content="Sending websocket command to kill server...", view=None)
|
||||||
|
|
Loading…
Reference in a new issue