aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2022-12-04 14:00:22 +0100
committerGravatar shtlrs <[email protected]>2022-12-04 14:00:22 +0100
commit7976bc2af0fe49ddaebc63242b581b9eecb66132 (patch)
tree8b570e5ddca36f78440236b20cc27059127055cc
parentedit view through interaction.response.edit_message (diff)
use follow.send to send the role update message
-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 d52836cfd..aa48be13c 100644
--- a/bot/exts/info/subscribe.py
+++ b/bot/exts/info/subscribe.py
@@ -138,7 +138,7 @@ class SingleRoleButton(discord.ui.Button):
self.assigned = not self.assigned
await self.update_view(interaction)
- await interaction.response.send_message(
+ await interaction.followup.send(
self.LABEL_FORMAT.format(action="Added" if self.assigned else "Removed", role_name=self.role.name),
ephemeral=True,
)