Skip to content

Commit c987ab5

Browse files
committed
fix: properly deprecate summary
1 parent 2ea37c0 commit c987ab5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ These changes are available on the `master` branch, but have not yet been releas
2727
- ⚠️ **This Version Removes Support For Python 3.8** ⚠️
2828
([#2521](https://github.com/Pycord-Development/pycord/pull/2521))
2929

30+
### Deprecated
3031

32+
- Deprecated `AppInfo.summary` in favor of `AppInfo.description`.
3133
([#2520](https://github.com/Pycord-Development/pycord/pull/2520))
3234

3335
## [2.6.0] - 2024-07-09

discord/appinfo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def summary(self) -> str | None:
274274
"""
275275
utils.warn_deprecated(
276276
"summary",
277+
"description",
277278
reference="https://discord.com/developers/docs/resources/application#application-object-application-structure",
278279
)
279280
return self._summary

0 commit comments

Comments
 (0)