From 65ddb244feb2173f73d1e87f5a4103b2f345e25d Mon Sep 17 00:00:00 2001 From: Unstable Kitsune Date: Tue, 23 Sep 2025 02:43:57 -0400 Subject: [PATCH] Refactor work_apply_button method in WorkView Re-added the work_apply_button method in the WorkView class without any changes to its functionality. The button for applying for the PM position retains its original properties, including label, style, and custom ID. --- hiring/hiring.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hiring/hiring.py b/hiring/hiring.py index 94b9dba..be8b826 100644 --- a/hiring/hiring.py +++ b/hiring/hiring.py @@ -156,10 +156,6 @@ class WorkView(discord.ui.View): async def work_apply_button(self, interaction: discord.Interaction, button: discord.ui.Button): await create_ticket(interaction, "pm", PMApplicationModal) - @discord.ui.button(label="Apply for PM Position", style=discord.ButtonStyle.green, custom_id="work_apply_pm_persistent") - async def work_apply_button(self, interaction: discord.Interaction, button: discord.ui.Button): - await create_ticket(interaction, "pm", PMApplicationModal) - # --- Main Cog Class ---