From 385c94c97e64faf7f6aa65df7751ca6fd7287ca5 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 2 Mar 2024 15:12:59 -0500 Subject: [PATCH] fix(pterodactyl): fixed broken chat command default --- .docs/pterodactyl/configuration.md | 2 +- pterodactyl/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docs/pterodactyl/configuration.md b/.docs/pterodactyl/configuration.md index 360b5e5..3cf7be9 100644 --- a/.docs/pterodactyl/configuration.md +++ b/.docs/pterodactyl/configuration.md @@ -35,7 +35,7 @@ Available placeholders: Default value: ```json -tellraw @a ["",{"text":".$D ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}] +tellraw @a ["",{"text":".$N ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}] ``` ## `consolechannel` diff --git a/pterodactyl/config.py b/pterodactyl/config.py index a67e3f1..5a72a9b 100644 --- a/pterodactyl/config.py +++ b/pterodactyl/config.py @@ -15,7 +15,7 @@ def register_config(config_obj: Config) -> None: join_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) joined the game$", leave_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) left the game$", achievement_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: (.*) has (made the advancement|completed the challenge) \[(.*)\]$", - chat_command='tellraw @a ["",{"text":".$D ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}]', + chat_command='tellraw @a ["",{"text":".$N ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}]', api_endpoint="minecraft", chat_channel=None, startup_msg='Server started!',