forked from blizzthewolf/SeaCogs
fix(pterodactyl): don't trim content
This commit is contained in:
parent
d5600e8cf7
commit
366bafcd27
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Pterodactyl(commands.Cog):
|
||||||
|
|
||||||
if json.loads(message)['event'] == 'console output' and await self.config.console_channel() is not None:
|
if json.loads(message)['event'] == 'console output' and await self.config.console_channel() is not None:
|
||||||
if current_status == 'running' or current_status == 'offline' or current_status == '':
|
if current_status == 'running' or current_status == 'offline' or current_status == '':
|
||||||
content = self.remove_ansi_escape_codes(json.loads(message)['args'][0][:1900])
|
content = self.remove_ansi_escape_codes(json.loads(message)['args'][0])
|
||||||
|
|
||||||
channel = self.bot.get_channel(await self.config.console_channel())
|
channel = self.bot.get_channel(await self.config.console_channel())
|
||||||
if channel is not None:
|
if channel is not None:
|
||||||
|
|
Loading…
Reference in a new issue