aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2022-11-27 17:51:27 +0100
committerGravatar shtlrs <[email protected]>2022-11-27 17:51:27 +0100
commitdd4903c6654e471156f984d3f38b1207909529b0 (patch)
tree9581d9bff59cc3a676331abc118379a00072724b
parentupdate message content of the persistent view (diff)
fix docstrings of the ShowAllSelfAssignableRolesButton's callback function
-rw-r--r--bot/exts/info/subscribe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/subscribe.py b/bot/exts/info/subscribe.py
index 8f46fde61..a2ce4beb7 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -168,7 +168,7 @@ class ShowAllSelfAssignableRolesButton(discord.ui.Button):
self.assignable_roles = assignable_roles
async def callback(self, interaction: Interaction) -> t.Any:
- """Assigns all missing available roles to the interactor."""
+ """Sends the original subscription view containing the available self assignable roles."""
await interaction.response.defer()
view = prepare_available_role_subscription_view(interaction, self.assignable_roles)
message = await interaction.followup.send(