Customizing Discobot for your site

:bookmark: This guide explains how to customize Discobot, the built-in assistant bot in Discourse, to better match your community’s persona and needs.

:person_raising_hand: 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.

Configuring Discobot’s site settings

Discobot’s behavior is controlled by several site settings found under the Plugins settings category (search for “narrative bot” in Admin > Settings). Key settings include:

  • discourse_narrative_bot_enabled: Enables or disables the Discobot plugin entirely. Default: true.
  • disable_discourse_narrative_bot_welcome_post: When enabled, prevents Discobot from sending a welcome post to new users. Default: true (welcome post is disabled on new installations).
  • discourse_narrative_bot_welcome_post_type: Controls the type of welcome post. Options are “New user track” (starts the interactive tutorial) or “Welcome message” (sends a simple welcome message). Default: new_user_track.
  • discourse_narrative_bot_welcome_post_delay: Number of seconds to wait before sending the welcome post. Default: 0.
  • discourse_narrative_bot_ignored_usernames: A list of usernames that Discobot should not interact with. Default: discourse.
  • discourse_narrative_bot_disable_public_replies: When enabled, prevents Discobot from replying in public topics. Default: false.

:warning: On new installations, disable_discourse_narrative_bot_welcome_post defaults to true, meaning Discobot will not automatically message new users. To enable Discobot’s welcome post, set this to false.

Modifying Discobot’s user profile

To customize Discobot’s profile:

  1. Go to Admin > Users and select the Discobot user.
  2. Select “Preferences” or click “Visit this user’s preferences page to edit their profile”:

Once in the Preferences section, you can modify the following settings:

Account settings

  • Name: Click the “Edit” button to change Discobot’s name.
  • Image: Click the “Edit” button to upload a new avatar image.
  • After making changes, click the “Save Changes” button.

:bulb: If you change Discobot’s name, remember to also update its “About me” bio in the Profile section. The default bio references Discobot by description rather than username, but you may want to review it to ensure it still makes sense with the new name.

Profile settings

Customize Discobot’s profile information as needed.

Email settings

Adjust email-related settings as needed.

Updating Discobot’s welcome message

All of Discobot’s text — including the welcome message, tutorial steps, and other responses — can be customized via Appearance > Site Texts in the admin panel (/admin/customize/site_texts).

To find and edit a specific message:

  1. Go to Discobot’s profile (https://example.discourse.com/u/discobot/summary) and select “Messages”.

  2. Click on “Sent”.

  3. Find a greeting message that you want to modify.

  4. Copy a unique part of the message, such as “I’m only a robot”.

  5. Navigate to the Admin Interface (https://example.discourse.com/admin)

  6. Go to Appearance > Site Texts (https://example.discourse.com/admin/customize/site_texts)

  7. Paste the copied text into the search window. When the greeting message appears, click “Edit”.

  8. Update the greeting message and click “Save Changes”.

:bulb: You can also search for discourse_narrative_bot in Site Texts to browse all of Discobot’s customizable text strings directly.

Limitations and additional information

  • You can reuse existing variables in messages (like %{username} or %{discobot_username}), but you cannot add new ones.
  • Discobot must remain an administrator; this role cannot be removed.
  • You can customize the body content of tutorial steps but you cannot add, remove, or reorder steps.

For further customization needs or feature requests, consider posting in the Contribute > Feature category.

Last edited by @hugh 2024-07-19T02:45:16Z

Last checked by @hugh 2024-07-19T02:45:34Z

Check documentPerform check on document:
38개의 좋아요

Is it possible to make a new conversation discobot with With members and make a new certificate for them ?

I am admin to an educational forum and I want to make a new conversation with a new certificate :slight_smile:

3개의 좋아요

No, you cannot currently customise the full experience.

3개의 좋아요

Is it possible to know the codes for messages such as %{title}

Excuse me for my many questions :slight_smile:

1개의 좋아요

Questions are fine. :slight_smile:

You can reuse any existing variables in the message but you cannot add new ones.

5개의 좋아요

many thanks @HAWK
Is it possible to define the existing variables if possible? :slight_smile:

1개의 좋아요

다음 중 하나를 추가하는 것을 제안합니다.

  1. 디스코봇(Discobot) 프로필의 'About me’를 업데이트해야 합니다. 이름이 변경된 후에도 여전히 @discobot에게 메시지를 보내거나 멘션하라고 안내되고 있기 때문입니다.

또는

  1. 디스커스(Discourse)가 기본 메시지에서 사용자 이름을 제거할 수 있습니다. 저는 'About me’를 다음과 같이 수정해 두었습니다.

안녕하세요, 저는 실제 사람이 아닙니다. 이 사이트에 대해 알려줄 수 있는 봇입니다. 저와 상호작용하려면 어디에서든 메시지를 보내거나 멘션해 주세요.

다시 변경해야 할 경우를 대비해, 'About me’도 함께 변경해야 한다는 것을 기억할 필요가 없도록 조치했습니다.

4개의 좋아요

이것이 미래에 가능해질 것인가요? fortune와 quote의 현재 질문/답변 형식은 제가 생각하고 있는 용도에 충분합니다.

1개의 좋아요

@codinghorror은 로드맵에 discobot 기능을 확장할 계획이 있나요?

2개의 좋아요

좋은 지적입니다. 해당 문구를 수정해야겠네요. @tshenry, 이 부분을 담당해 주시겠어요? 과거 건에 대해서는 적용할 필요 없이 새로 생성된 봇에만 적용하면 됩니다. "이름으로 멘션해 주세요"라고 적어두면, 이름을 변경할 때 '자기소개’까지 수정할 필요가 없게 됩니다.

@hawk, 현재로서는 discobot의 기능을 확장할 계획이 없습니다.

7개의 좋아요

다음과 같이 처리가 완료되었습니다!

8개의 좋아요

Discobot이 반드시 모더레이터 역할을 가져야 하나요, 아니면 이 역할을 제거해도 될까요? 즉, 그 경우에도 제대로 작동할까요?

2개의 좋아요

코드와 UI를 살펴본 바로는, Discobot이 모더레이터가 될 수 있는 일은 절대 일어나지 않아야 합니다.

**관리자(admin)**를 말씀하신 것이라면, 현재로서는 Discobot의 관리자 권한을 제거할 방법이 없습니다.

7개의 좋아요

답변해 주셔서 감사합니다. 최근 몇 가지 게시물을 참고했을 때, 디스코봇 사용자 훈련과 고급 사용자 훈련을 커스터마이즈할 수 있는지, 아니면 여전히 표준 설정으로만 가능한지 궁금합니다. 'capybara’라는 검색어로 유입되는 트래픽이 꽤 많은데, 다른 용어를 사용해 볼까 고민 중입니다.

1개의 좋아요

사실 제가 언급한 내용은 아마 여기 있을 것 같습니다: Customizing Discobot for your site - #7

2개의 좋아요

관리자가 튜토리얼의 특정 부분을 켜거나 끌 수 있는 방법이 있을까요?

예를 들어, 플래그 튜토리얼은 사용자가 “Innapropriate” 플래그를 선택하도록 요구합니다. 이 플래그는 우리의 사용 사례에 맞지 않아서 저희 인스턴스에서 숨겨져 있습니다. 그 결과, 사용자들이 튜토리얼을 완료할 수 없습니다. 만약 이 한 섹션만 비활성화하거나 건너뛸 수 있다면 튜토리얼을 다시 활성화할 수 있을 것입니다.

2개의 좋아요

좋아요가 비활성화된 경우 좋아요를 건너뛸 수 있는 것과 유사하게, 단계의 지침을 수정할 수 있습니다. 좋아요 비활성화 - 디스코봇 튜토리얼 업데이트

3개의 좋아요

단계를 삭제하거나 추가할 수는 없으며, 기존 단계의 본문 내용을 커스터마이징할 수는 있지만(트리거는 제외) 추가할 수는 없습니다.

4개의 좋아요

이 기능을 커스터마이징해서 포럼의 주된 주제와 관련된 질문에 답할 수 있도록 LM/ChatGPT 등으로 학습시키고 싶습니다… 가능할까요?

Discobot을 커스터마이즈하는 것보다는, 직접 나만의 AI 페르소나/봇을 만드는 것이 가장 좋습니다.

1개의 좋아요