chore: better log string

This commit is contained in:
2025-12-09 11:37:05 +01:00
parent 5be09cd891
commit 372d3b4c59
2 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ async def setup(bot):
):
"""Slash command to add a new message pattern to the database."""
add_meme_pattern(regex, response)
logger.info(f"Pattern added in memory: {regex}")
logger.info("Saved a new meme pattern: %s", regex)
await interaction.response.send_message(
f"Pattern added!\n**Regex:** `{regex}`\n**Response:** `{response}`"
)