fix(pterodactyl): use running, not started

This commit is contained in:
SeaswimmerTheFsh 2024-02-28 13:44:13 -05:00
parent 239f7cf613
commit dab7343ca6
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -77,7 +77,7 @@ class Pterodactyl(commands.Cog):
self.logger.debug("Authentication successful")
if json.loads(message)['event'] == 'console output' and await self.config.console_channel() is not None:
if current_status == 'started' or current_status == 'offline' or current_status == '':
if current_status == 'running' or current_status == 'offline' or current_status == '':
channel = self.bot.get_channel(await self.config.console_channel())
if channel is not None:
content = self.remove_ansi_escape_codes(json.loads(message)['args'][0][:1900])