From a53903bd363c620c75f57f411736b8659dece380 Mon Sep 17 00:00:00 2001 From: BigGamerGary Date: Wed, 13 Aug 2025 20:49:43 +1000 Subject: [PATCH] Updates and testing --- .woodpecker.yml | 12 +++--------- src/py/Acronymbot.py | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 36d21ae..82d33e4 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,11 +3,9 @@ type: docker # Essential for Docker execution name: restart-discord-bot -trigger: - branch: - - main - event: - - push +when: + - branch: main + event: push steps: - name: restart-bot @@ -18,10 +16,6 @@ steps: - /home/gary/Discord/Acrybot:/app # Maps named volume 'docker_compose_dir' to container path commands: - cd /app - # Execute the Docker Compose command - # IMPORTANT: Replace 'your_bot_service_name' with your actual service name. - - ls - - pwd - docker compose restart python-app # Uncomment the line below if you use older Docker Compose (with a hyphen) # - docker-compose restart your_bot_service_name diff --git a/src/py/Acronymbot.py b/src/py/Acronymbot.py index 0631f73..9d757e3 100644 --- a/src/py/Acronymbot.py +++ b/src/py/Acronymbot.py @@ -50,9 +50,9 @@ class Buttons(discord.ui.View): @tree.command(description="Lmao") async def test(interaction:discord.Interaction): - print(f"{interaction.user} used command! Woohoo!") + print(f"{interaction.user} used command! BAHHHH!") try: - await interaction.response.send_message("Pay $5 for a Mario Moment", view=Buttons()) + await interaction.response.send_message("Pay $5 for a Mario CUMM", view=Buttons()) except discord.app_commands.errors.CommandInvokeError: print("Uh oh! It failed!")