Browse Source

Fix type-checking error in PrivateChannel ABC (#427)

* make pyright shut up

* ok
pull/10109/head
Rancor 2 years ago
committed by GitHub
parent
commit
19372ad514
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/abc.py

3
discord/abc.py

@ -363,6 +363,9 @@ class PrivateChannel(Snowflake, Protocol):
def _add_call(self, **kwargs):
raise NotImplementedError
def _update(self, **kwargs) -> None:
raise NotImplementedError
class _Overwrites:
__slots__ = ('id', 'allow', 'deny', 'type')

Loading…
Cancel
Save