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. -
Editing Items
Learn how to edit views after they've already been sent on Discord.
-
Select Menus
Learn how to create and use all the different types of select menus.
-
View Checks & Timeout Handling
Create checks and handle timeouts on views.
-
Error Handling
Handle errors raised by views.
-
Modals
Build, send and respond to modals.
-
Persistent Views
Create views which persist through bot restarts.
-
Navigators
Create button-controlled menus to view multiple pages of data.
-
Menus
Create views with multiple pages, with the ability to set custom content and button on each page.
-
Migrating from v3
Still using v3? Learn how to migrate to v4.