fix(aurora): fixed a broken button in the guild config menu
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 56s

This commit is contained in:
SeaswimmerTheFsh 2024-04-26 16:14:30 -04:00
parent ce7e39d385
commit acb737f0a6
Signed by: Seaswimmer
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))