diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 42b7ccc..b616479 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -128,7 +128,7 @@ class Pterodactyl(commands.Cog): if view.result is True: await message.edit(content="Sending websocket command to start server...", view=None) await self.websocket.send(json.dumps({"event": "set state", "args": ["start"]})) - await message.edit(content="Server starting...") + await message.edit(content="Server starting...", view=None) else: await message.edit(content="Cancelled.", view=None) @@ -146,7 +146,7 @@ class Pterodactyl(commands.Cog): if view.result is True: await message.edit(content="Sending websocket command to stop server...", view=None) await self.websocket.send(json.dumps({"event": "set state", "args": ["stop"]})) - await message.edit(content="Server stopping...") + await message.edit(content="Server stopping...", view=None) else: await message.edit(content="Cancelled.", view=None) @@ -162,7 +162,7 @@ class Pterodactyl(commands.Cog): if view.result is True: await message.edit(content="Sending websocket command to restart server...", view=None) await self.websocket.send(json.dumps({"event": "set state", "args": ["restart"]})) - await message.edit(content="Server restarting...") + await message.edit(content="Server restarting...", view=None) else: await message.edit(content="Cancelled.", view=None)