forked from cswimr/SeaCogs
fix(pterodactyl): fixed incorrect websocket handling
This commit is contained in:
parent
3e18894bb5
commit
8ccb174913
1 changed files with 7 additions and 8 deletions
|
@ -63,7 +63,6 @@ async def establish_websocket_connection(coginstance: Pterodactyl) -> None:
|
|||
if channel is not None:
|
||||
await channel.send(server_message if len(server_message) < 2000 else server_message[:1997] + '...', allowed_mentions=discord.AllowedMentions.none())
|
||||
|
||||
else:
|
||||
chat_message = await check_if_chat_message(content)
|
||||
if chat_message:
|
||||
info = await get_info(chat_message['username'])
|
||||
|
|
Loading…
Reference in a new issue