aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2022-11-27 22:31:37 +0100
committerGravatar shtlrs <[email protected]>2022-11-27 22:31:37 +0100
commit54dfcf9ad4e764c6c7de9862d0b5641f7d31ef61 (patch)
tree8bbd4b98063c7546966fcd08d5a015240d1a4f8b
parentrename prepare_available_role_subscription_view to prepare_self_assignable_ro... (diff)
update docs for the newly added view & button
-rw-r--r--bot/exts/info/subscribe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py
index fe54a3dbe..ab1c3cf7e 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -147,14 +147,14 @@ class SingleRoleButton(discord.ui.Button):
class AllSelfAssignableRolesView(discord.ui.View):
- """A view that'll hold one button allowing interactors to get all available self-assignable roles."""
+ """A persistent view that'll hold one button allowing interactors to toggle all available self-assignable roles."""
def __init__(self):
super(AllSelfAssignableRolesView, self).__init__(timeout=None)
class ShowAllSelfAssignableRolesButton(discord.ui.Button):
- """A button that sends a view containing all the different roles a user can self assign at that time."""
+ """A button that, when clicked, sends a view a user can interact with to assign one or all the available roles."""
CUSTOM_ID = "gotta-claim-them-all"