diff --git a/examples/views/dynamic_counter.py b/examples/views/dynamic_counter.py index cfb02ee5d..d007e0173 100644 --- a/examples/views/dynamic_counter.py +++ b/examples/views/dynamic_counter.py @@ -17,7 +17,7 @@ import re # Note that custom_ids can only be up to 100 characters long. class DynamicCounter( - discord.ui.DynamicItem[discord.ui.Button], + discord.ui.DynamicItem[discord.ui.Button, discord.ui.View], template=r'counter:(?P[0-9]+):user:(?P[0-9]+)', ): def __init__(self, user_id: int, count: int = 0) -> None: