Improve component typing

This commit is contained in:
Lilly Rose Berner authored and GitHub committed 2022-05-16 15:30:03 -04:00
1 parent b7e25645dc
commit 7267d18d9e
10 files changed
+131 -69

No files matched your search

+1 -1
View File
@@ -730,7 +730,7 @@ class ConnectionState:
inner_data = data['data']
custom_id = inner_data['custom_id']
components = inner_data['components']
self._view_store.dispatch_modal(custom_id, interaction, components) # type: ignore
self._view_store.dispatch_modal(custom_id, interaction, components)
self.dispatch('interaction', interaction)
def parse_presence_update(self, data: gw.PresenceUpdateEvent) -> None: