fix(aurora): followup.send instead of response.send_message

This commit is contained in:
Seaswimmer 2024-01-15 15:24:18 +00:00
parent 1e9a6abe74
commit acf2484cbb
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -13,7 +13,7 @@ class Overrides(ui.View):
async def auto_evidenceformat(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).auto_evidenceformat()
if current_setting is not None: