From 104c9476b4f6bf23ddee77b73be120bc79b6bb38 Mon Sep 17 00:00:00 2001 From: pacnpal <183241239+pacnpal@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:14:43 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 2: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- birthday/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/birthday/birthday.py b/birthday/birthday.py index 91cafcf..e2c7ba7 100644 --- a/birthday/birthday.py +++ b/birthday/birthday.py @@ -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