mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-03 14:02:19 +00:00
Fix type errors in the abc module
This commit is contained in:
@@ -1525,7 +1525,7 @@ class HTTPClient:
|
||||
return self.request(r, json=payload, reason=reason)
|
||||
|
||||
def delete_channel_permissions(
|
||||
self, channel_id: Snowflake, target: channel.OverwriteType, *, reason: Optional[str] = None
|
||||
self, channel_id: Snowflake, target: Snowflake, *, reason: Optional[str] = None
|
||||
) -> Response[None]:
|
||||
r = Route('DELETE', '/channels/{channel_id}/permissions/{target}', channel_id=channel_id, target=target)
|
||||
return self.request(r, reason=reason)
|
||||
|
||||
Reference in New Issue
Block a user