Revert "fix(art): testing fix to dynamicitem not being detected"
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 40s

This reverts commit a02d9f449f.
This commit is contained in:
Seaswimmer 2023-12-28 17:00:51 -05:00
parent a02d9f449f
commit 263b730d97

View file

@ -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<id>[0-9]+)'):
class ApproveButton(discord.ui.DynamicItem[discord.ui.Button], template=r'button:interaction:(?P<id>[0-9]+)'):
def __init__(self, interaction_id: int, msg: discord.Message, bot) -> None:
super().__init__(
discord.ui.Button(