fix(art): testing fix to dynamicitem not being detected
This commit is contained in:
parent
5cd6b4cf58
commit
a02d9f449f
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Art(commands.Cog):
|
||||||
response_str += "Art submission channel not set."
|
response_str += "Art submission channel not set."
|
||||||
await ctx.send(response_str)
|
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:
|
def __init__(self, interaction_id: int, msg: discord.Message, bot) -> None:
|
||||||
super().__init__(
|
super().__init__(
|
||||||
discord.ui.Button(
|
discord.ui.Button(
|
||||||
|
|
Loading…
Reference in a new issue