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(