Skip to content

Commit

Permalink
feat: print help intro command on start
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakrajnc committed Dec 12, 2024
1 parent 6dde202 commit 03fc8fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Explorer/Assets/DCL/Chat/ChatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ protected override void OnViewInstantiated()
viewInstance.ChatBubblesToggle.Toggle.SetIsOnWithoutNotify(nametagsData.showChatBubbles);
OnToggleChatBubblesValueChanged(nametagsData.showChatBubbles);
OnFocus();

// Intro message
chatHistory.AddMessage(ChatMessage.NewFromSystem("Type /help for available commands."));
}

protected override void OnViewShow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class GoToChatCommand : IChatCommand
new (
$@"^/({ChatCommandsUtils.COMMAND_GOTO}|{COMMAND_GOTO_LOCAL})\s+(?:(-?\d+)\s*,\s*(-?\d+)|{PARAMETER_RANDOM})$",
RegexOptions.Compiled);
public string Description => "<b>/goto <i><world> <x,y | random></i></b> - Teleport to a specific location.";
public string Description => "<b>/goto <i><world | x,y | random></i></b> - Teleport to a specific location.";

private readonly IRealmNavigator realmNavigator;

Expand Down

0 comments on commit 03fc8fa

Please sign in to comment.