DA344
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
discord/ui/view.py
|
|
@ -847,7 +847,7 @@ class ViewStore: |
|
|
|
elif getattr(item, '__discord_ui_section__', False): |
|
|
|
accessory = item.accessory # type: ignore |
|
|
|
if isinstance(accessory, DynamicItem): |
|
|
|
pattern = accessory.__discord_ui_compiled_pattern__ |
|
|
|
pattern = accessory.__discord_ui_compiled_template__ |
|
|
|
self._dynamic_items[pattern] = accessory.__class__ |
|
|
|
else: |
|
|
|
dispatch_info[(accessory.type.value, accessory.custom_id)] = accessory # type: ignore |
|
|
|