Skip to content

Guides#

In this section you can find various in-depth guides that explain specific topics in detail. There's also fully functional examples in the repository, if you prefer to learn that way.

If you think something is missing or inaccurate, please open an issue!

  • Client as State


    Learn how to access the miru client anywhere in the bot to manage views and modals.

    Learn more

  • Editing Items


    Learn how to edit views after they've already been sent on Discord.

    Learn more

  • Select Menus


    Learn how to create and use all the different types of select menus.

    Learn more

  • View Checks & Timeout Handling


    Create checks and handle timeouts on views.

    Learn more

  • Error Handling


    Handle errors raised by views.

    Learn more

  • Modals


    Build, send and respond to modals.

    Learn more

  • Persistent Views


    Create views which persist through bot restarts.

    Learn more

  • Navigators


    Create button-controlled menus to view multiple pages of data.

    Learn more

  • Menus


    Create views with multiple pages, with the ability to set custom content and button on each page.

    Learn more

  • Migrating from v3


    Still using v3? Learn how to migrate to v4.

    Learn more