From 206d57f9dac04170c5c463e9ea87cf59138a8ef6 Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 5 Jun 2025 15:19:06 +0100 Subject: [PATCH] Fixed SPT bot not showing new lines #361 --- .../Commando/SptCommands/TraderCommand/TraderSptCommand.cs | 2 +- .../Helpers/Dialogue/SptDialogueChatBot.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.cs b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.cs index 81b97d2f..23d6d95b 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/Commando/SptCommands/TraderCommand/TraderSptCommand.cs @@ -31,7 +31,7 @@ public class TraderSptCommand( public string GetCommandHelp() { return - "spt trader\n========\nSets the reputation or money spent to the input quantity through the message system.\n\n\tspt trader [trader] rep [quantity]\n\t\tEx: spt trader prapor rep 2\n\n\tspt trader [trader] spend [quantity]\n\t\tEx: spt trader therapist spend 1000000"; + "spt trader \n ======== \n Sets the reputation or money spent to the input quantity through the message system.\n\n\tspt trader [trader] rep [quantity]\n\t\tEx: spt trader prapor rep 2\n\n\tspt trader [trader] spend [quantity]\n\t\tEx: spt trader therapist spend 1000000"; } public string PerformAction(UserDialogInfo commandHandler, string sessionId, SendMessageRequest request) diff --git a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SptDialogueChatBot.cs b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SptDialogueChatBot.cs index 111b4d86..2fe314bc 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SptDialogueChatBot.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/Dialogue/SptDialogueChatBot.cs @@ -93,7 +93,7 @@ public class SptDialogueChatBot( _mailSendService.SendUserMessageToPlayer( sessionId, GetChatBot(), - "The available commands are:\\n GIVEMESPACE \\n HOHOHO \\n VERYSPOOKY \\n ITSONLYSNOWALAN \\n GIVEMESUNSHINE", + "The available commands are:\n GIVEMESPACE \n HOHOHO \n VERYSPOOKY \n ITSONLYSNOWALAN \n GIVEMESUNSHINE", [], null ); @@ -119,7 +119,7 @@ public class SptDialogueChatBot( _mailSendService.SendUserMessageToPlayer( sessionId, GetChatBot(), - $"Subcommand {subCommand}:\\n{chatCommand.GetCommandHelp(subCommand)}", + $"Subcommand {subCommand}:\n{chatCommand.GetCommandHelp(subCommand)}", [], null );