forked from blizzthewolf/SeaCogs
feat(pterodactyl): testing allowing custom colors in tellraw
This commit is contained in:
parent
4174bc4be7
commit
d3cc445802
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue