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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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') |
|
|
|