From 736fbfcb7d5b9b7819726e22df354cbdbf27dd54 Mon Sep 17 00:00:00 2001 From: DA-344 <108473820+DA-344@users.noreply.github.com> Date: Wed, 14 May 2025 17:04:49 +0200 Subject: [PATCH] fix: typings on examples of dynamic --- examples/views/dynamic_counter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: