Fixed SPT bot not showing new lines #361

This commit is contained in:
Chomp
2025-06-05 15:19:06 +01:00
parent fee5a1f4dc
commit 206d57f9da
2 changed files with 3 additions and 3 deletions
@@ -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)
@@ -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
);