From a02d9f449fdf3d8a4a6296b8406d32f2571550d2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 17:00:15 -0500 Subject: [PATCH] fix(art): testing fix to dynamicitem not being detected --- art/art.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/art/art.py b/art/art.py index 9648d9b..b4f4727 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(