|
|
@ -333,7 +333,7 @@ class Guild(Hashable): |
|
|
|
|
|
|
|
.. versionchanged:: 2.1 |
|
|
|
|
|
|
|
Removed ``application_command_counts`` as it is no longer provided by Discord. |
|
|
|
Removed ``application_command_counts`` and ``application_command_count`` as they are no longer provided by Discord. |
|
|
|
|
|
|
|
Attributes |
|
|
|
---------- |
|
|
@ -1309,16 +1309,6 @@ class Guild(Hashable): |
|
|
|
""" |
|
|
|
return self._presence_count |
|
|
|
|
|
|
|
@property |
|
|
|
def application_command_count(self) -> Optional[int]: |
|
|
|
"""Optional[:class:`int`]: Returns the application command count, if available. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
""" |
|
|
|
counts = self.application_command_counts |
|
|
|
if counts: |
|
|
|
sum(counts) |
|
|
|
|
|
|
|
@property |
|
|
|
def chunked(self) -> bool: |
|
|
|
""":class:`bool`: Returns a boolean indicating if the guild is "chunked". |
|
|
|