You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is no longer dependent on Pycord. It has changed back to discord.py
Parameter ctx has been changed to method for ReactionMenu & ViewMenu constructor and is now positional only
Parameter menu_type for ReactionMenu & ViewMenu constructor is now keyword only
The auto-paginate feature for ReactionMenu has been removed
The Page class has been added. Represents each "page" added via .add_page()/.add_pages()
Using .last_viewed now returns a Page. .pages now returns a List[Page]
Class methods ViewButton.skip() & ReactionButton.skip() has been renamed to .generate_skip() because of an earlier name conflict.
The default behavior for the below methods have changed. Previously, using the below methods would return/stop menu's for both ReactionMenu & ViewMenu. With this update, each method by default now returns or stops menu's according to whichever class the method was invoked from. For example, ViewMenu.stop_all_sessions() only stops all ViewMenu sessions instead of all ReactionMenu sessions as well as ViewMenu sessions.
.get_all_dm_sessions()
.get_all_sessions()
.get_session(name: str)
.stop_all_sessions()
.stop_session(name: str, include_all=False)
.get_sessions_count()
With this change, methods .split_sessions() & .stop_only() have been removed
With the addition of selects in ViewMenu, method .refresh_menu_buttons() has been renamed to .refresh_menu_items()
Parameters remove_buttons and disable_buttons have been removed from method ViewMenu.stop(). With the addition of selects, the following new parameters will now take their place
remove_items
disable_items
The following attributes have been renamed in the ViewMenu class
Fixed an issue where ViewButton link buttons would be removed even after setting it as persistent
Using the reply kwarg for ReactionMenu in a thread or voice channel now works as intended
New Features
ReactionMenu & ViewMenu
Pagination is no longer limited to just embeds or text. The normal embed menu can now paginate with embeds, text, as well as files. With this, method .add_page() has two new parameters
Added class method quick_start(). Start a menu with it's default settings only adding the pages
Added property menu_type. Displays the menu type that was set in the constructor
Added property rows. Returns all the data that was added to the menu via .add_row()
Added method .randomize_embed_colors(). Selects a random color for all embeds added to the menu
Added the ability to set the separator between the page director and embed footer text via the separator parameter
.set_page_director_style(..., separator=DEFAULT)
Added support for voice channels to be utilized via the send_to parameter in the .start() method.
ViewMenu Only
Added the ability to use a select to go to a page instead of using text input
Added the persist kwarg to ViewButton. This prevents link buttons from being disabled/removed when the menu times out or is stopped so they can remain clickable
Added class ViewSelect. Used to choose categories in the menu. With the addition of selects, the following methods have been added