feat(pterodactyl): testing allowing custom colors in tellraw

This commit is contained in:
Seaswimmer 2024-02-29 18:53:47 -05:00
parent 4174bc4be7
commit d3cc445802
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -147,7 +147,7 @@ class Pterodactyl(commands.Cog):
self.logger.debug("Chat channel not set. Skipping sending chat message to Discord")
def get_tellraw_string(self, username: str, message: str):
return f'tellraw @a ["",{{"text":"{username} (DISCORD): ","color":"blue"}},{{"text":"{message}","color":"white"}}]'
return f'tellraw @a ["",{{"text":"{username} (DISCORD): ","color":"#ff8d84"}},{{"text":"{message}","color":"white"}}]'
def get_task(self):
return self.bot.loop.create_task(self.establish_websocket_connection(), name="Pterodactyl Websocket Connection")