Skip to content

Working with Sections in the Learning Module

This guide walks you through managing sections in the Learning Module. Sections help subdivide topics into logical categories.

To create a section, use the command /learn section add <topic_slug> Required <title> Required.

  • <topic_slug>: The slug of the topic to add the section to.
  • <title>: The name of the section (e.g., “Hooks”).

You’ll receive an embed with the slug and additional info.

To update a section, use /learn section update <topic_slug> Required <title> (optional).

  • <topic_slug>: The slug of the topic.
  • <title>: New title for the section.

To delete a section, use /learn section delete <topic_slug> Required <section_slug> Required.

  • <topic_slug>: The slug of the topic.
  • <section_slug>: The slug of the section to delete.

This permanently removes the section.

To list sections of a topic, use /learn section list <topic_slug> Required.

  • <topic_slug>: The slug of the topic.

You’ll receive an embed with the sections of that topic.

To view a specific section, use /learn section view <topic_slug> Required <section_slug> Required.

  • <topic_slug>: The slug of the topic.
  • <section_slug>: The slug of the section.

This returns the pages belonging to this section and additional info.