Skip to content

Working with Pages in the Learning Module

This guide walks you through managing pages in the Learning Module. Pages are the smallest units for detailed notes and entries within sections.

To add a page, use the command /learn page add <topic_slug> Required <section_slug> Required <title> <content> Required <emphasis> (optional).

  • <topic_slug>: The slug of the topic.
  • <section_slug>: The slug of the section.
  • <title>: The name of the page (e.g., “useState”).
  • <content>: Detailed content or notes.

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

To update a page, use /learn page update <topic_slug> Required <section_slug> Required <page_slug> Required <title> <content> <emphasis> (optional).

  • <page_slug>: The slug of the page to update.

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

This permanently removes the page.

To list pages in a section, use /learn page list <topic_slug> Required <section_slug> Required.

You’ll receive an embed with the pages in that section.

To read a specific page, use /learn page read <topic_slug> Required <section_slug> Required <page_slug> Required.

This displays the content of the page and additional info.