Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Welcome Bot message interactions #30049

Closed
alya opened this issue May 10, 2024 · 5 comments · Fixed by #30789
Closed

Change Welcome Bot message interactions #30049

alya opened this issue May 10, 2024 · 5 comments · Fixed by #30789

Comments

@alya
Copy link
Contributor

alya commented May 10, 2024

DMs with the Welcome Bot are a good space for playing with Zulip's messaging features, but the commands it offers don't seem super helpful at this point. To reduce the emphasis on commands, and the annoyance from Welcome Bot's replies when it doesn't understand the message, we should:

  1. Drop this part from Welcome Bot's original message:
I can also help you get set up! Just click anywhere on this message or press r to reply.

Here are a few messages I understand: apps, profile, theme, channels, topics, message formatting, keyboard shortcuts, help.
  1. The first time a user sends a message that Welcome Bot doesn't understand, reply with:
You can chat with me as much as you like! To get help, try one of the following messages: `apps`, `profile`, `theme`, `channels`, `topics`, `message formatting`, `keyboard shortcuts`, `help`.  

Screenshot 2024-05-10 at 12 00 52

  1. Do not send a reply to any future message that Welcome Bot doesn't understand. We can still implement some version of Add emoji reactions to Welcome Bot #20023, to have Welcome Bot acknowledge messages it receives.

Related issues:

CZO thread

@zulipbot
Copy link
Member

Hello @zulip/server-bots, @zulip/server-onboarding members, this issue was labeled with the "area: onboarding", "area: bots" labels, so you may want to check it out!

@alya alya changed the title [WIP] Change Welcome Bot message interactions Change Welcome Bot message interactions May 31, 2024
@codewithnick
Copy link
Collaborator

@zulipbot claim

@zulipbot
Copy link
Member

Welcome to Zulip, @codewithnick! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip!

Here's some tips to get you off to a good start:

As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site.

See you on the other side (that is, the pull request side)!

codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 7, 2024
as referred to task 1 in zulip#30049 the original message from welcome bot has been dropped
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 7, 2024
Fixes part of zulip#30049
The original message from welcome bot has been deleted
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 10, 2024
A part of original message from welcome bot has been deleted.

Fixes part of zulip#30049
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 10, 2024
The default reply of the bot when it does not understand a message
that is sent by user has been changed.

Fixes part of zulip#30049.
@codewithnick
Copy link
Collaborator

hello @alya to implement the 3rd task we will need to know if it is the first time the bot does not understand a specific message , how do we get to know this should we make a global counter and increase it each time the bot does not understand a message sent by the user like this?

image

codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 10, 2024
The default reply of the bot when it does not understand a message
that is sent by user has been changed.

Fixes part of zulip#30049.
@alya
Copy link
Contributor Author

alya commented Jun 12, 2024

I cannot answer any technical questions about the implementation.
To get feedback on your approach, please post a specific question in the #frontend stream in the Zulip development community. Be sure to follow https://zulip.readthedocs.io/en/latest/contributing/asking-great-questions.html. Thanks!

codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 13, 2024
Earlier, the initial direct message sent by welcome bot suggested
a few bot commands to try. They don't seem super helpful at this
point.

To reduce the emphasis on commands, this commit updates the
message to drop that part.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 13, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 16, 2024
The first time the bot does not understand a message,
it sends bot_commands()
after that if the user sends a message bot does not understand,
the bot randomly sends one of the confused emojis
["❓", "😕", "🤷", "🤔", "❔"] and then sends bot_commands().

If the user sends a message that bot understands,
then bot sends an additional message that says: "I'm happy to help you out!
🎉 ", after sending the appropriate reply.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 16, 2024
Earlier, the initial direct message sent by welcome bot suggested
a few bot commands to try. They don't seem super helpful at this
point.

To reduce the emphasis on commands, this commit updates the
message to drop that part.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 16, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 16, 2024
If the welcome bot understands a message it will reply with an
additional  "I'm happy to help you out!🎉 ".
The first time welcome bot does not understand a message,
it replies with bot_commands()
After that if it does not understand a message sent by user,
then ir randomly sends a confused emoji ["❓", "😕", "🤷", "🤔", "❔"]
before sending bot_commands
Tests have been updated accordingly

Fixes part of zulip#30049
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 16, 2024
If the welcome bot understands a message it will reply with an
additional  "I'm happy to help you out!🎉 ".
The first time welcome bot does not understand a message,
it replies with bot_commands(),
After that if it does not understand a message sent by user,
then it randomly sends a confused emoji ["❓", "😕", "🤷", "🤔", "❔"]
before sending bot_commands().
Tests have been updated accordingly.

Fixes part of zulip#30049
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 18, 2024
When the user sends a message for the first time to welcome bot,
the bot reacts with a 🎉 emoji and sends an additional
"I'm happy to help you out!🎉 " text before sending the message.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 18, 2024
Earlier, the initial direct message sent by welcome bot suggested
a few bot commands to try. They don't seem super helpful at this
point.

To reduce the emphasis on commands, this commit updates the
message to drop that part.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 18, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 18, 2024
When the user sends a message for the first time to welcome bot,
the bot reacts with a 🎉 emoji and sends an additional
"I'm happy to help you out!🎉 " text before sending the message.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 24, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 25, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 25, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 25, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will not reply to any future message it does not understand.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 26, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will not reply to any future message it does not understand,
It will only respond to the first message it does not understand.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 26, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future message it does not understand.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 28, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 28, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jun 28, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future message it does not understand.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jul 1, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jul 1, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
codewithnick added a commit to codewithnick/zulip that referenced this issue Jul 5, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
@prakhar1144 prakhar1144 mentioned this issue Jul 8, 2024
12 tasks
codewithnick added a commit to codewithnick/zulip that referenced this issue Jul 8, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
alya pushed a commit to codewithnick/zulip that referenced this issue Jul 9, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of zulip#30049.
alya pushed a commit to codewithnick/zulip that referenced this issue Jul 9, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
alya pushed a commit to codewithnick/zulip that referenced this issue Jul 9, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
prakhar1144 pushed a commit to prakhar1144/zulip that referenced this issue Jul 9, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of zulip#30049.
prakhar1144 pushed a commit to prakhar1144/zulip that referenced this issue Jul 9, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
prakhar1144 pushed a commit to prakhar1144/zulip that referenced this issue Jul 9, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
timabbott pushed a commit that referenced this issue Jul 9, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of #30049.
timabbott pushed a commit that referenced this issue Jul 9, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of #30049.
timabbott pushed a commit that referenced this issue Jul 9, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of #30049.
shubhiscoding pushed a commit to shubhiscoding/zulip that referenced this issue Jul 15, 2024
The previous message that welcome bot sent with
the bot commands has been removed in order to be more
clear and concise to the user. Previously weclome bot
also sent bot commands in intial message, this commit
intends to remove those commands.

Fixes part of zulip#30049.
shubhiscoding pushed a commit to shubhiscoding/zulip that referenced this issue Jul 15, 2024
The reply given by welcome bot when it does not understand a message,
sent by the user is changed, so that the bot is more clear to the user.

Fixes part of zulip#30049.
shubhiscoding pushed a commit to shubhiscoding/zulip that referenced this issue Jul 15, 2024
Previously the bot sent bot commands whenever an undefined message
was sent by the user. This commit intends to fix the problem so that
the bot will only respond to the first message it does not understand
and not reply to any future undefined messages.

Fixes part of zulip#30049.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment