Browse Source

Add missing types for two permissions in PermissionOverwrite

pull/7778/head
I. Ahmad 3 years ago
committed by GitHub
parent
commit
80e42d139c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/permissions.py

2
discord/permissions.py

@ -688,6 +688,8 @@ class PermissionOverwrite:
send_messages_in_threads: Optional[bool]
external_stickers: Optional[bool]
use_external_stickers: Optional[bool]
use_embedded_activities: Optional[bool]
moderate_members: Optional[bool]
def __init__(self, **kwargs: Optional[bool]):
self._values: Dict[str, Optional[bool]] = {}

Loading…
Cancel
Save