Browse Source

Rename Profile.is_blocked_by_user() -> Profile.is_blocker()

pull/10109/head
dolfies 4 months ago
parent
commit
fc94e0b017
  1. 2
      discord/profile.py

2
discord/profile.py

@ -146,7 +146,7 @@ class Profile:
""":class:`bool`: Indicates if the user is a premium user."""
return self.premium_since is not None
def is_blocked_by_user(self) -> bool:
def is_blocker(self) -> bool:
""":class:`bool`: Indicates if the user has blocked the client user.
.. versionadded:: 2.1

Loading…
Cancel
Save