debryc
(Deborah Chang)
2021 年 1 月 7 日午前 12:14
1
Hello, I’m testing out our new user onboarding and have encountered a problem.
As a new user I’m not able to send a message to our discobot (renamed hubbot)
Users used to be able to click on the following link and start the tutorial but it no longer works.
https://hub.youthpowercoalition.org/new-message?username=hubbot&title=Hey,%20I%27m%20ready%20to%20start%20my%20new%20user%20tutorial!&body=Directions:%20Just%20click%20the%20blue%20%60Message%60%20button%20below%20to%20tell%20@hubbot%20start%20tutorial
I also cannot respond directly to the Hub Bot welcome message.
osioke
(Osioke Itseuwa)
2021 年 1 月 7 日午前 10:44
2
How did you rename discobot and the message in the screenshot what prompts it to be sent? When a user accepts an invite?
「いいね!」 1
debryc
(Deborah Chang)
2021 年 1 月 7 日午後 5:20
3
I followed these directions to rename and update welcome message
This guide explains how to customize Discobot, the built-in assistant bot in Discourse, to better match your community’s persona and needs.
Required user level: Administrator
Discobot is a special user in your Discourse community that helps new members learn about the platform. As an administrator, you can customize various aspects of Discobot to better fit your community’s style and requirements.
Modifying Discobot’s user profile
To customize Discobot’s pr…
Yes, new users get the message when they sign up and log in for the first time.
I am able to use the link I shared and send a message to discobot when I’m on my staff account but I cannot when I’m on my new user account.
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 7 日午後 8:18
4
I suspect the public profile of Hub Bot is (for unknown reason, now) hidden (in Preferences/Interface).
debryc
(Deborah Chang)
2021 年 1 月 7 日午後 9:51
5
Here are Hub Bot’s Interface Preferences
I noticed that I get a warning on their profile but am not sure how to figure out what that warning is about.
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 7 日午後 11:25
6
that would have been too easy…
I tried the route new-message with a tl1 user and it worked once I made discobot’s profile public, but I’ve left out the message body… so it seems the quote %60 around Message are not allowed.
What are the notifications preferences of Hub Bot? Are the PM allowed?
or maybe… auto close messages post count isn’t set to 1 by any chance?
ondrej
2021 年 1 月 7 日午後 11:34
7
Hello in your preferences > Interface is skip new user onboarding tips and badges checked? This is a very common reason why users cannot message discobot.
debryc
(Deborah Chang)
2021 年 1 月 8 日午前 3:02
8
Nope, it’s unchecked for the new user.
debryc
(Deborah Chang)
2021 年 1 月 8 日午前 3:11
9
I’m thinking Hub Bot isn’t allowed to not have PMs, right? Here’s its interface settings.
Its notification settings
Where is this setting?
debryc
(Deborah Chang)
2021 年 1 月 8 日午前 3:16
10
Sorry, I’m not exactly sure what you mean by this. Could you explain more?
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 8 日午前 8:22
11
debryc:
Where is this setting?
it’s there:
https://hub.youthpowercoalition.org/admin/site_settings/category/all_results?filter=close%20message
In 2.7.0.beta1 ( ee9ea20d95 ) there is another parameter for private messages
Could you try this link:
https://hub.youthpowercoalition.org/new-message?username=hubbot&title=Hey,%20I%27m%20ready%20to%20start%20my%20new%20user%20tutorial!&body=Directions:%20Just%20click%20the%20blue%20Message%20button%20below%20to%20tell%20@hubbot%20start%20tutorial
「いいね!」 1
debryc
(Deborah Chang)
2021 年 1 月 8 日午後 5:42
12
Whoa! I reset it because it was currently 0. Why? How did that happen?
Hmm… I’m on that version right now.
That still didn’t work for my new user. I get this message.
I don’t see the ability to message hubbot on their profile either.
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 8 日午後 6:13
13
About the notifications preferences, that’s what I get:
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 8 日午後 6:33
14
In my setup these two parameters are checked:
enable personal messages
enable system message replies
debryc
(Deborah Chang)
2021 年 1 月 8 日午後 6:56
15
Yeah, that setting doesn’t show up anywhere on our hubbot page.
Compare
I think you may have hit on something. So, I have
enable personal messages disabled
min trust to send messages 3 but
enable system message replies enabled
Does discobot not fall under system messages?
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 8 日午後 7:00
16
hum… staff yes, system maybe not, system is another user
debryc
(Deborah Chang)
2021 年 1 月 8 日午後 7:02
17
@osioke Maybe you would know for sure?
In my mind, the enable system message replies setting should also allow for messaging discobot, not just system.
「いいね!」 1
justin
(Justin DiRose)
2021 年 1 月 8 日午後 7:08
18
This might be the cause. Have you tried enabling this?
「いいね!」 1
Benjamin_D
(Benjamin Decotte)
2021 年 1 月 8 日午後 7:13
19
enable system message replies
I’m not even sure in what case someone would reply to system ?
Is the admin suppose to monitor the system PMs?
edit: discobot (and group messages apparently) are system messages, so that’s (at least partially) why
opts = {
title: title,
target_usernames: @user.username,
archetype: Archetype.private_message,
subtype: TopicSubtype.system_message,
}
if @post && @post.topic.private_message? &&
@post.topic.topic_allowed_users.pluck(:user_id).include?(@user.id)
opts = opts.merge(topic_id: @post.topic_id)
end
if @data[:topic_id]
opts = opts.merge(topic_id: @data[:topic_id]).except(:title, :target_usernames, :archetype)
end
post = reply_to(@post, raw, opts)
@data[:topic_id] = post.topic.id
@data[:track] = self.class.to_s
post
end
debryc
(Deborah Chang)
2021 年 1 月 8 日午後 7:18
20
My new user can now send a message to discobot when I did both of the following
enable personal messages enabled
min trust to send message 1
However, my question now is that I need personal messages disabled AND new users to be able to go through the discobot tutorial.
Discobot is basically in the same line of system, I think. Basically everyone should be able to do its tutorial, right? Regardless of if they can generally send messages?