Merge pull request #12 from pacnpal/alert-autofix-2

Potential fix for code scanning alert no. 2: Clear-text logging of sensitive information
This commit is contained in:
pacnpal
2025-02-12 22:17:43 -05:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ async def birthday_context_menu(interaction: discord.Interaction, member: discor
if birthday_channel_id:
channel = interaction.client.get_channel(birthday_channel_id)
if not channel:
logger.warning(f"Birthday channel {birthday_channel_id} not found in guild {interaction.guild.id}")
logger.warning("Birthday channel not found in the guild")
channel = interaction.channel
else:
channel = interaction.channel