Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 12, 2024
1 parent d79de90 commit 0a0cd4c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions discord/appinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def guild(self) -> Guild | None:
.. versionadded:: 1.3
"""
return self._state._get_guild(self.guild_id)

@property
def summary(self) -> str | None:
"""summary: :class:`str`
Expand All @@ -270,13 +270,13 @@ def summary(self) -> str | None:
It currently returns an empty string.
.. versionadded:: 1.3
.. deprecated:: 2.7"""
.. deprecated:: 2.7
"""
utils.warn_deprecated(
"summary",
reference="https://discord.com/developers/docs/resources/application#application-object-application-structure"
);
return self._summary;
"summary",
reference="https://discord.com/developers/docs/resources/application#application-object-application-structure",
)
return self._summary


class PartialAppInfo:
Expand Down

0 comments on commit 0a0cd4c

Please sign in to comment.