Module serenity_utils::menu
source · [−]Expand description
Reaction-based menu functionality.
It provides three default menu control functions that:
- move to previous page
- move to next page
- close menu
These functions are exposed publicly to allow customisation.
Custom control functions can also be used with a menu.
For more information, see Menu
.
Note: This functionality has been ported from Red-DiscordBot
’s
menu
function.
Structs
A struct representing a control for reaction menus.
A fully functioning reaction-based menu.
Options to tweak a menu.
Functions
Closes a reaction menu by deleting the menu’s message.
Moves a reaction menu forward.
Moves a reaction menu backward.
Type Definitions
A function used to control the behaviour of a reaction menu’s reaction.
Result variant for menu methods.