forked from cswimr/SeaCogs
fix(aurora): followup.send instead of response.send_message
This commit is contained in:
parent
1e9a6abe74
commit
acf2484cbb
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Overrides(ui.View):
|
||||||
async def auto_evidenceformat(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument
|
async def auto_evidenceformat(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument
|
||||||
await interaction.response.defer()
|
await interaction.response.defer()
|
||||||
if self.ctx.author != interaction.user:
|
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
|
return
|
||||||
current_setting = await config.user(self.ctx.author).auto_evidenceformat()
|
current_setting = await config.user(self.ctx.author).auto_evidenceformat()
|
||||||
if current_setting is not None:
|
if current_setting is not None:
|
||||||
|
|
Loading…
Reference in a new issue