Aurora Configuration Rewrite #15

Merged
cswimr merged 73 commits from aurora-config-rewrite into main 2024-01-16 12:19:08 -05:00
Showing only changes of commit acf2484cbb - Show all commits

View file

@ -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: