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
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
This commit is contained in:
parent
939ad36809
commit
1d2223c439
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue