Skip to content

Working with Topics in the Learning Module

This guide walks you through managing topics in the Learning Module. Topics are the foundation for organizing your learning content hierarchically.

To add a topic, use the command /learn topic add <title> Required <description> <global>.

  • <title>: The name of your topic (e.g., “React Basics”).
  • <description>: Optional description for more details.
  • <global>: A flag to set the scope. If true, the topic is global (accessible everywhere).

When created, the topic is automatically saved with its scope. You’ll receive an embed showing the slug (important for searching), scope, and additional info.

To view a topic’s details, use /learn topic view <slug> Required.

This returns an embed with info about the topic and all associated sections.

To update a topic, use /learn topic update <slug> Required <title> <description>.

  • <slug>: The unique identifier to find the topic.
  • <title>: New title (optional).
  • <description>: New description (optional).

To delete a topic, use /learn topic delete <slug> Required.

This permanently removes the topic and makes it inaccessible.

To list topics related to you, use /learn topic list <scope> (optional).

  • <scope>: Options: all (default), global, server, user.
    • If not in a server, you can’t use “server” scope.
    • “User” scope works anywhere and shows your personal topics.

You’ll receive an embed with the slug and title of your topics.