Skip to content

Commit

Permalink
Add deprecation notice for select_menu attr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored Dec 24, 2024
1 parent 7ab48d9 commit 74b6fde
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions redbot/core/utils/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@ class SimpleMenu(discord.ui.View):
under the select menu in this instance.
Defaults to False.
Attributes
----------
select_menu: `discord.ui.Select`
A select menu with a list of pages. The usage of this attribute is discouraged
as it may store different instances throughout the menu's lifetime.
.. deprecated-removed:: 3.5.14 60
Any behaviour enabled by the usage of this attribute should no longer be depended on.
If you need this for something and cannot replace it with the other functionality,
create an issue on Red's issue tracker.
Examples
--------
You can provide a list of strings::
Expand Down

0 comments on commit 74b6fde

Please sign in to comment.