Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

onboarding: Replace 'edit profile' with 'profile' in bot command list.

Palasha4445606843b
diff --git a/zerver/lib/onboarding.py b/zerver/lib/onboarding.py
index f85133f6c35..afcd4eb04f7 100644
--- a/zerver/lib/onboarding.py
+++ b/zerver/lib/onboarding.py
@@ -112,7 +112,7 @@ def send_initial_pms(user: UserProfile) -> None:
def bot_commands(is_initial_pm: bool = False) -> str:
commands = [
"apps",
- "edit profile",
+ "profile",
"theme",
"streams",
"topics",
diff --git a/zerver/tests/test_tutorial.py b/zerver/tests/test_tutorial.py
index 8439d573d85..112475a9ab2 100644
--- a/zerver/tests/test_tutorial.py
+++ b/zerver/tests/test_tutorial.py
@@ -142,7 +142,7 @@ class TutorialTests(ZulipTestCase):
self.send_personal_message(user, bot, content)
expected_response = (
"Here are a few messages I understand: "
- "`apps`, `edit profile`, `theme`, "
+ "`apps`, `profile`, `theme`, "
"`streams`, `topics`, `message formatting`, `keyboard shortcuts`.\n\n"
"Check out our [Getting started guide](/help/getting-started-with-zulip), "
"or browse the [Help center](/help/) to learn more!"
@@ -158,7 +158,7 @@ class TutorialTests(ZulipTestCase):
self.send_personal_message(user, bot, content)
expected_response = (
"I’m sorry, I did not understand your message. Please try one of the following commands: "
- "`apps`, `edit profile`, `theme`, `streams`, "
+ "`apps`, `profile`, `theme`, `streams`, "
"`topics`, `message formatting`, `keyboard shortcuts`."
)
self.assertEqual(most_recent_message(user).content, expected_response)