fix(aurora): fixed a broken button in the guild config menu

This commit is contained in:
Seaswimmer 2024-04-26 16:14:30 -04:00
parent ce7e39d385
commit acb737f0a6
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -17,7 +17,7 @@ class Guild(ui.View):
await interaction.response.send_message("You must have the manage guild permission to change this setting.", ephemeral=True)
return
await interaction.response.defer()
current_setting = await config.guild(interaction.guild).show_moderator
current_setting = await config.guild(interaction.guild).show_moderator()
await config.guild(interaction.guild).show_moderator.set(not current_setting)
await interaction.message.edit(embed=await guild_embed(self.ctx))