From 263b730d9755a95bb3fb20c7ee83a57f09ad6aea Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 17:00:51 -0500 Subject: [PATCH] Revert "fix(art): testing fix to dynamicitem not being detected" This reverts commit a02d9f449fdf3d8a4a6296b8406d32f2571550d2. --- art/art.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/art/art.py b/art/art.py index b4f4727..9648d9b 100644 --- a/art/art.py +++ b/art/art.py @@ -80,7 +80,7 @@ class Art(commands.Cog): response_str += "Art submission channel not set." await ctx.send(response_str) -class ApproveButton(discord.ui.DynamicItem([discord.ui.Button]), template=r'button:interaction:(?P[0-9]+)'): +class ApproveButton(discord.ui.DynamicItem[discord.ui.Button], template=r'button:interaction:(?P[0-9]+)'): def __init__(self, interaction_id: int, msg: discord.Message, bot) -> None: super().__init__( discord.ui.Button(