aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2022-11-27 17:50:27 +0100
committerGravatar shtlrs <[email protected]>2022-11-27 17:50:27 +0100
commitbde96fd65a7d30592f65a31eaa07dfa8ed404f68 (patch)
tree087556e2f6ae9c91d0031d32582ff5d4aea7f27c
parentrename ClaimAllSelfAssignableRolesButton to ShowAllSelfAssignableRolesButton (diff)
update message content of the persistent view
The messages were intended for a button that will automatically assign all availables roles to the interactor This changes since it's not the intended behavior
-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 c68207e1c..8f46fde61 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -161,7 +161,7 @@ class ShowAllSelfAssignableRolesButton(discord.ui.Button):
def __init__(self, assignable_roles: list[AssignableRole]):
super().__init__(
style=discord.ButtonStyle.success,
- label="Show available roles",
+ label="Show all self assignable roles",
custom_id=self.CUSTOM_ID,
row=1
)
@@ -181,7 +181,7 @@ class ShowAllSelfAssignableRolesButton(discord.ui.Button):
class Subscribe(commands.Cog):
"""Cog to allow user to self-assign & remove the roles present in ASSIGNABLE_ROLES."""
- SELF_ASSIGNABLE_ROLES_MESSAGE = "Click on this button to earn all the currently available server roles"
+ SELF_ASSIGNABLE_ROLES_MESSAGE = "Click on this button to show all self assignable roles"
def __init__(self, bot: Bot):
self.bot = bot