Fix indentation issues in ExtendedAudio cog to ensure proper execution flow in message handling logic. This change improves code readability and maintains functionality without altering existing behavior.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run

This commit is contained in:
Valerie 2025-05-28 02:49:45 -04:00
parent 939ad36809
commit 1d2223c439

View file

@ -283,11 +283,11 @@ class ExtendedAudio(commands.Cog):
if await self.config.guild(guild).clean_old_messages():
channel_id = await self.config.guild(guild).status_channel()
if not channel_id:
return
return
channel = guild.get_channel(channel_id)
if not channel:
return
return
last_message_id = await self.config.guild(guild).last_status_message()
if last_message_id: