From ffcaeec653a577436f9d68a99cd1066e50998abb Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 15 Jan 2024 15:25:09 +0000 Subject: [PATCH] fix(aurora): applied previous commit's fix to the other buttons --- aurora/configuration/menus/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/configuration/menus/core.py b/aurora/configuration/menus/core.py index dea74d5..5b5d2c0 100644 --- a/aurora/configuration/menus/core.py +++ b/aurora/configuration/menus/core.py @@ -26,7 +26,7 @@ class Overrides(ui.View): async def ephemeral(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument await interaction.response.defer() if self.ctx.author != interaction.user: - await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True) + await interaction.followup.send("You cannot change this setting for other users.", ephemeral=True) return current_setting = await config.user(self.ctx.author).history_ephemeral() if current_setting: @@ -39,7 +39,7 @@ class Overrides(ui.View): async def inline(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument await interaction.response.defer() if self.ctx.author != interaction.user: - await interaction.response.send_message("You cannot change this setting for other users.", ephemeral=True) + await interaction.followup.send("You cannot change this setting for other users.", ephemeral=True) return current_setting = await config.user(self.ctx.author).history_inline() if current_setting: