fix(ticket): correction de l'erreur d'indentation pour l'envoi du log de fermeture

This commit is contained in:
Lowei 2026-05-19 19:51:36 +02:00
parent cacbf24bfe
commit 9731e10ee0

View file

@ -1200,9 +1200,9 @@ class CloseDelayView(disnake.ui.View):
except Exception as e: except Exception as e:
print(f"Failed to send feedback DM: {e}") print(f"Failed to send feedback DM: {e}")
# Send transcript to log channel # Send transcript to log channel
if self.config.log_channel_id: if self.config.log_channel_id:
try: try:
log_channel = interaction.guild.get_channel(self.config.log_channel_id) log_channel = interaction.guild.get_channel(self.config.log_channel_id)
if log_channel: if log_channel:
log_embed = disnake.Embed( log_embed = disnake.Embed(