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

@@ -19,16 +19,16 @@ jobs:
lfs: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.10.0
uses: docker/setup-buildx-action@v3.11.1
- name: Log in to DockerHub
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.6.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5.7.0
uses: docker/metadata-action@v5.10.0
with:
images: |
alterware/aw-bot
@@ -38,7 +38,7 @@ jobs:
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v6.15.0
uses: docker/build-push-action@v6.18.0
with:
context: .
platforms: linux/amd64,linux/arm64

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}`"
)