Browse Source

typo

pull/10166/head
DA-344 1 month ago
parent
commit
8a79252e9d
  1. 2
      discord/ui/dynamic.py

2
discord/ui/dynamic.py

@ -156,7 +156,7 @@ class DynamicItem(Generic[BaseT], Item[Union[View, LayoutView]]):
if not self.template.match(value):
raise ValueError(f'custom_id must match the template {self.template.pattern!r}')
self.item.custom_id = value # type: ignore # This attribute exists for dispatchable itesm
self.item.custom_id = value # type: ignore # This attribute exists for dispatchable items
self._provided_custom_id = True
@property

Loading…
Cancel
Save